#501: LdapPosixAccountsUtils.java

projectforge-business/src/main/java/org/projectforge/business/ldap/LdapPosixAccountsUtils.java Type: Java Utility Class · Purpose: Utility class providing helper methods and common functions. · Source: projectforge-business/src/main/java/org/projectforge/business/ldap/LdapPosixAccountsUtils.java 139 lines · 67 code · 61 comments · 11 blank
Utility class providing helper methods and common functions.

Class: LdapPosixAccountsUtils

Annotations

@Autowired, @Service

Fields

NameTypeAccessModifiers
ldapServiceLdapServiceprivate
userGroupCacheUserGroupCacheprivate

Methods

NameReturn TypeAccess
getNextFreeUidNumber()intpublic
isGivenNumberFree()booleanpublic
isGivenNumberFree()booleanpublic
setDefaultValues()voidpublic
setDefaultValues()voidpublic

Architecture Analysis

Resides in projectforge-business, the core module containing domain logic, services, and persistence. Provides Utility Functions as a Kotlin object singleton, shared stateless helpers used across the application. Typically annotated with @Service or @Component, managed by the Spring IoC container with dependency injection.

Git History

CommitWhat changed
868d6abb752025 -> 2026
63081666f6Source file headers: 2024-> 2025.
4c04cfd652MAJOR-CHANGE! Migration of integer id's to Long id's (including fk's etc.)
b6092df092Copyright 2023 -> 2024
ab45d51fa4Copyright 2001-2022 -> 2001-2023.
7254f2f152WIP UserPagesRest
5a8eeade11WIP: UserPagesRest
5f7ef41b8cCopyright 2021 -> 2022
c0f2b9de04Tenants functionality removed everywhere (untested).
ceb63e8a1bSource code header: (C) 2001-2021.
7c79f1922cCopyright of source header -> 2020.
73a9755df7More code cleanup: - Collapsed catch blocks that did the exact same things - Replaced ArrayList with ArrayList<> - Replaced StringBuffer with StringBuilder - Removed a few usages of deprecated classes (mainly HSSFColors in Excel) - Replace Collections.sort with List.sort
32f634b88fOptimize imports
000ca723d8Remove pointless boolean expressions (business)
dd5ca38acdCopyRight of all java file-header updated or created.
bc0a98baa6Deprecated ObjectUitls method replaced (perl -pie is your best friend).
a5bbdca6aaChange logger to slf4j
f979e8a429MGC-UPDATE: Update auf Version 3.0.0-SNAPSHOT
84fd4ed8fePROJECTFORGE-2213 Remove userCache
9ebb885224Initial commit