Package com.eka.middleware.auth
Class UserProfileManager
java.lang.Object
com.eka.middleware.auth.UserProfileManager
- All Implemented Interfaces:
- io.undertow.security.idm.IdentityManager
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic UsersaddUser(AuthAccount account, String passwordStr) static voidaddUserForTenant(AuthAccount account, DataPipeline dataPipeline) static UserProfileManagercreate()createDefaultProfile(org.pac4j.core.profile.UserProfile up, String tenant) static voidcreateGroupForTenant(String groupName, DataPipeline dataPipeline) static voidstatic AuthAccountgetAccount(String id, org.pac4j.core.profile.UserProfile up) static AuthAccountgetAccount(org.pac4j.core.profile.UserProfile up) Deprecated.getGroupsForTenant(DataPipeline dataPipeline) static UserProfileManagergetUsers()Deprecated.static booleanisUserExist(String user) static voidstatic voidstatic intstatic voidremoveGroup(String name) static voidremoveGroupForTenant(String groupName, DataPipeline dataPipeline) static voidremoveUser(String id) static voidupdateUser(AuthAccount account, byte[] pass) static voidupdateUser(AuthAccount account, byte[] pass, DataPipeline dataPipeline) static voidupdateUser(AuthAccount account, byte[] pass, String status) static voidupdateUser(AuthAccount account, byte[] pass, String status, DataPipeline dataPipeline) static voidupdateVerificationSecret(String email, String verification) io.undertow.security.idm.Accountverify(io.undertow.security.idm.Account account) io.undertow.security.idm.Accountverify(io.undertow.security.idm.Credential credential) 
- 
Field Details- 
usersMap
- 
LOGGERpublic static org.apache.logging.log4j.Logger LOGGER
- 
SYSTEM_PROFILEpublic static final org.pac4j.core.profile.UserProfile SYSTEM_PROFILE
 
- 
- 
Method Details- 
getUsersDeprecated.- Throws:
- SystemException
 
- 
getGroupsDeprecated.- Throws:
- SystemException
 
- 
getGroupsForTenant- Throws:
- SystemException
 
- 
getTenants
- 
newTenant- Throws:
- Exception
 
- 
newGroup- Throws:
- Exception
 
- 
createGroupForTenantpublic static void createGroupForTenant(String groupName, DataPipeline dataPipeline) throws Exception - Throws:
- Exception
 
- 
removeGroup- Throws:
- Exception
 
- 
removeGroupForTenantpublic static void removeGroupForTenant(String groupName, DataPipeline dataPipeline) throws Exception - Throws:
- Exception
 
- 
isUserExist- Throws:
- SystemException
 
- 
addUser- Throws:
- SystemException
 
- 
addUserForTenantpublic static void addUserForTenant(AuthAccount account, DataPipeline dataPipeline) throws SystemException - Throws:
- SystemException
 
- 
updateUser- Throws:
- SystemException
 
- 
updateUserpublic static void updateUser(AuthAccount account, byte[] pass, DataPipeline dataPipeline) throws SystemException - Throws:
- SystemException
 
- 
updateUserpublic static void updateUser(AuthAccount account, byte[] pass, String status, DataPipeline dataPipeline) throws SystemException - Throws:
- SystemException
 
- 
updateUserpublic static void updateUser(AuthAccount account, byte[] pass, String status) throws SystemException - Throws:
- SystemException
 
- 
updateVerificationSecret- Throws:
- Exception
 
- 
removeUser- Throws:
- SystemException
 
- 
create- Throws:
- SystemException
 
- 
getUserProfileManager
- 
verifypublic io.undertow.security.idm.Account verify(io.undertow.security.idm.Account account) - Specified by:
- verifyin interface- io.undertow.security.idm.IdentityManager
 
- 
verify- Specified by:
- verifyin interface- io.undertow.security.idm.IdentityManager
 
- 
verifypublic io.undertow.security.idm.Account verify(io.undertow.security.idm.Credential credential) - Specified by:
- verifyin interface- io.undertow.security.idm.IdentityManager
 
- 
getAccount
- 
getAccount
- 
createDefaultProfile
- 
migrationProfiles- Throws:
- SystemException
 
- 
createProfileDBpublic static void createProfileDB()
 
-