public class DatabaseAutomaticUserSource extends AbstractUserSourceProfile
cacheValidationTimeout, context, manager, profileId, profileNamePWD_EXPIRATION_BYPASS| Constructor and Description |
|---|
DatabaseAutomaticUserSource(GatewayContext context,
long profileId,
java.lang.String name,
long cacheTimeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(java.lang.String roleName,
UICallback ui) |
void |
addUser(User user,
UICallback ui) |
void |
alterUser(User user,
UICallback ui) |
AuthenticatedUser |
authenticate(AuthChallenge challenge)
Called to both verify authentication for a given username/password pair, and to find the security roles for that
user.
|
java.util.Set<UserSourceEditCapability> |
getEditFlags()
Which of the editing functions are supported?
|
java.util.Collection<java.lang.String> |
getRoles() |
java.util.Collection<User> |
getUsers()
Retrieve all users from this profile.
|
void |
removeRole(java.lang.String roleName,
UICallback ui) |
void |
removeUser(User user,
UICallback ui) |
void |
renameRole(java.lang.String oldName,
java.lang.String newName,
UICallback ui) |
void |
setDatabaseId(long databaseId) |
void |
setPrefix(java.lang.String prefix) |
void |
validateTables() |
alterPassword, getCacheValidationTimeout, getName, getProfileId, shutdown, startupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidatePasswordpublic DatabaseAutomaticUserSource(GatewayContext context, long profileId, java.lang.String name, long cacheTimeout)
public void validateTables()
public AuthenticatedUser authenticate(AuthChallenge challenge) throws java.lang.Exception
UserSourceProfilejava.lang.Exceptionpublic java.util.Collection<User> getUsers() throws java.lang.Exception
UserSourceProfilejava.lang.Exceptionpublic java.util.Collection<java.lang.String> getRoles()
throws java.lang.Exception
java.lang.Exceptionpublic java.util.Set<UserSourceEditCapability> getEditFlags()
UserSourceProfilegetEditFlags in interface UserSourceProfilegetEditFlags in class AbstractUserSourceProfilepublic void addUser(User user, UICallback ui) throws java.lang.Exception
addUser in interface UserSourceProfileaddUser in class AbstractUserSourceProfilejava.lang.Exceptionpublic void alterUser(User user, UICallback ui) throws java.lang.Exception
alterUser in interface UserSourceProfilealterUser in class AbstractUserSourceProfilejava.lang.Exceptionpublic void addRole(java.lang.String roleName,
UICallback ui)
throws java.lang.Exception
addRole in interface UserSourceProfileaddRole in class AbstractUserSourceProfilejava.lang.Exceptionpublic void removeRole(java.lang.String roleName,
UICallback ui)
throws java.lang.Exception
removeRole in interface UserSourceProfileremoveRole in class AbstractUserSourceProfilejava.lang.Exceptionpublic void renameRole(java.lang.String oldName,
java.lang.String newName,
UICallback ui)
throws java.lang.Exception
renameRole in interface UserSourceProfilerenameRole in class AbstractUserSourceProfilejava.lang.Exceptionpublic void removeUser(User user, UICallback ui) throws java.lang.Exception
removeUser in interface UserSourceProfileremoveUser in class AbstractUserSourceProfilejava.lang.Exceptionpublic void setDatabaseId(long databaseId)
public void setPrefix(java.lang.String prefix)