#517: LoginHandler.java
projectforge-business/src/main/java/org/projectforge/business/login/LoginHandler.java Type: Java Class · Package: org.projectforge.business.login · Source: projectforge-business/src/main/java/org/projectforge/business/login/LoginHandler.java 144 lines · 25 code · 103 comments · 16 blank
Java Class implementing LoginHandler.
Annotations
@Service
Methods
| Return | Method | Parameters |
Kai | Reinhard | k.reinhard@micromata.de |
void | initialize | |
security | reasons | don't wait for the garbage collector to remove the
* password in memory |
LoginResult | checkLogin | final String username, final char[] password |
be | valid | plain jdbc is used then |
boolean | isAdminUser | final PFUserDO user |
otherwise | false | the user has to be redirected to
* the login page |
boolean | checkStayLoggedIn | PFUserDO user |
defined | groups | also deleted groups |
List | getAllGroups | |
defined | users | also deleted users |
List | getAllUsers | |
void | afterUserGroupCacheRefresh | Collection users, Collection groups |
boolean | hasExternalUsermanagementSystem | |
void | passwordChanged | PFUserDO user, char[] newPassword |
Architecture Analysis
Resides in projectforge-business, the core module containing domain logic, services, and persistence. Typically annotated with @Service or @Component, managed by the Spring IoC container with dependency injection.
Git History
| Commit | What changed |
|---|
868d6abb75 | 2025 -> 2026 |
63081666f6 | Source file headers: 2024-> 2025. |
b6092df092 | Copyright 2023 -> 2024 |
ab45d51fa4 | Copyright 2001-2022 -> 2001-2023. |
5f7ef41b8c | Copyright 2021 -> 2022 |
02128a8fb7 | Ldap works |
87a1c4cfc2 | Passwords (char[]) will be cleared in most backend methods due to security reasons. |
0050a24d94 | String password -> char[] password. Not yet tested: LDAP client/master and change of Wlan-Password. |
ceb63e8a1b | Source code header: (C) 2001-2021. |
7c79f1922c | Copyright of source header -> 2020. |
32f634b88f | Optimize imports |
dd5ca38acd | CopyRight of all java file-header updated or created. |
d4054ac66c | PROJECTFORGE-2579 add methods to check if the WLAN password change is supported |
a20488accd | PROJECTFORGE-2577 add WLAN password fields to user edit, PROJECTFORGE-2579 LDAP login handler AND fix a bug where the password could be set to “******” accidently |
9ebb885224 | Initial commit |