public abstract class AbstractUserSourceProfile extends java.lang.Object implements UserSourceProfile
| Modifier and Type | Field and Description |
|---|---|
protected long |
cacheValidationTimeout |
protected GatewayContext |
context |
protected UserSourceManager |
manager |
protected long |
profileId |
protected java.lang.String |
profileName |
PWD_EXPIRATION_BYPASS| Constructor and Description |
|---|
AbstractUserSourceProfile(GatewayContext context,
long profileId,
java.lang.String profileName,
long cacheTimeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(java.lang.String groupName,
UICallback ui) |
void |
addUser(User user,
UICallback ui) |
void |
alterPassword(User user,
java.lang.String oldPassword,
java.lang.String newPassword) |
void |
alterUser(User user,
UICallback ui) |
long |
getCacheValidationTimeout()
The cache update time-out option.
|
java.util.Set<UserSourceEditCapability> |
getEditFlags()
Which of the editing functions are supported?
|
java.lang.String |
getName()
The name of this user profile.
|
long |
getProfileId()
The ID of this user profile
|
void |
removeRole(java.lang.String groupName,
UICallback ui) |
void |
removeUser(User user,
UICallback ui) |
void |
renameRole(java.lang.String oldName,
java.lang.String newName,
UICallback ui) |
void |
shutdown()
Called either when the user source has been edited and so it is being restarted, or when the gateway is shutting
down.
|
void |
startup(UserSourceManager manager)
Called when the user source is created before it is used.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticate, getRoles, getUsers, validatePasswordprotected UserSourceManager manager
protected GatewayContext context
protected long profileId
protected long cacheValidationTimeout
protected java.lang.String profileName
public AbstractUserSourceProfile(GatewayContext context, long profileId, java.lang.String profileName, long cacheTimeout)
public long getProfileId()
UserSourceProfilegetProfileId in interface UserSourceProfilepublic long getCacheValidationTimeout()
UserSourceProfilegetCacheValidationTimeout in interface UserSourceProfilepublic java.lang.String getName()
UserSourceProfilegetName in interface UserSourceProfilepublic void startup(UserSourceManager manager)
UserSourceProfilestartup in interface UserSourceProfilepublic void shutdown()
UserSourceProfileshutdown in interface UserSourceProfilepublic java.util.Set<UserSourceEditCapability> getEditFlags()
UserSourceProfilegetEditFlags in interface UserSourceProfilepublic void addRole(java.lang.String groupName,
UICallback ui)
throws java.lang.Exception
addRole in interface UserSourceProfilejava.lang.Exceptionpublic void removeRole(java.lang.String groupName,
UICallback ui)
throws java.lang.Exception
removeRole in interface UserSourceProfilejava.lang.Exceptionpublic void renameRole(java.lang.String oldName,
java.lang.String newName,
UICallback ui)
throws java.lang.Exception
renameRole in interface UserSourceProfilejava.lang.Exceptionpublic void addUser(User user, UICallback ui) throws java.lang.Exception
addUser in interface UserSourceProfilejava.lang.Exceptionpublic void alterUser(User user, UICallback ui) throws java.lang.Exception
alterUser in interface UserSourceProfilejava.lang.Exceptionpublic void removeUser(User user, UICallback ui) throws java.lang.Exception
removeUser in interface UserSourceProfilejava.lang.Exceptionpublic void alterPassword(User user, java.lang.String oldPassword, java.lang.String newPassword) throws java.lang.Exception
alterPassword in interface UserSourceProfilejava.lang.Exception