|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.dsp.management.beans.ServiceAccountConfig com.bea.dsp.management.beans.MappedServiceAccountConfig
public final class MappedServiceAccountConfig
A service account where local users are directly mapped to some remote user.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.bea.dsp.management.beans.ServiceAccountConfig |
---|
ServiceAccountConfig.Password, ServiceAccountConfig.Type |
Constructor Summary | |
---|---|
MappedServiceAccountConfig(java.lang.String name)
|
Method Summary | |
---|---|
void |
deleteRemoteUser(java.lang.String remoteUserName)
Removes all entries for this remote user. |
java.lang.String |
getAnonymousRemoteUserName()
Returns the name of the remote user to whom all the unauthenticated local users are mapped. |
java.util.Set<java.lang.String> |
getMappedLocalUserNames()
Returns a non-null, unmodifieabled set of all the local user names that have been mapped to some remote user. |
java.lang.String |
getMappedRemoteUserForLocalUser(java.lang.String localUserName)
Returns the name of the remote user to whom the passed local user is mapped. |
java.lang.String |
getOtherRemoteUserName()
Returns the name of the remote user to whom all the authenticated local user, who do not have a mapping in localRemoteUserMapping, are mapped. |
java.util.Set<java.lang.String> |
getRemoteUserNames()
Returns a non null, unmodifiable set of all the registered remote user names. |
byte[] |
getRemoteUserPassword(java.lang.String remoteUserName)
Returns the encrypted password for the remote users. |
ServiceAccountConfig.Type |
getType()
|
boolean |
isIdentityMappingEnabled()
Returns true if identity mapping is enabled. |
void |
removeRemoteUserMappingForLocalUser(java.lang.String localUserName)
Remove the mapping for the passed local user name. |
void |
setAnonymousRemoteUserName(java.lang.String anonymousRemoteUserName)
Set the name of remote user to whom all the unauthenticated local users are mapped. |
void |
setIdentityMappingEnabled(boolean identityMappingEnabled)
Enables identity mapping. |
void |
setOtherRemoteUserName(java.lang.String otherRemoteUserName)
Set the name of remote user to whom all the authenticated local user, who do not have a mapping in localRemoteUserMapping, are mapped. |
void |
setRemoteUserMappingForLocalUser(java.lang.String localUserName,
java.lang.String remoteUserName)
Mapps the passed local user to the passed remote user. |
void |
setRemoteUserPassword(java.lang.String remoteUserName,
byte[] password)
Sets the password for a remote user. |
void |
setUnEncryptedRemoteUserPassword(java.lang.String remoteUserName,
java.lang.String password)
Set an uncrypted password for a remote user. |
void |
validate()
Validates bean specific attributes. |
Methods inherited from class com.bea.dsp.management.beans.ServiceAccountConfig |
---|
getDescription, getName, setDescription |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MappedServiceAccountConfig(java.lang.String name)
Method Detail |
---|
public ServiceAccountConfig.Type getType()
getType
in class ServiceAccountConfig
public java.lang.String getAnonymousRemoteUserName()
public void setAnonymousRemoteUserName(java.lang.String anonymousRemoteUserName)
anonymousRemoteUserName
- public java.lang.String getOtherRemoteUserName()
public void setOtherRemoteUserName(java.lang.String otherRemoteUserName)
otherRemoteUserName
- public java.util.Set<java.lang.String> getRemoteUserNames()
public byte[] getRemoteUserPassword(java.lang.String remoteUserName)
remoteUserName
-
public void setRemoteUserPassword(java.lang.String remoteUserName, byte[] password)
remoteUserName
- password
- public void setUnEncryptedRemoteUserPassword(java.lang.String remoteUserName, java.lang.String password)
remoteUserName
- password
- public void deleteRemoteUser(java.lang.String remoteUserName)
remoteUserName
- public java.util.Set<java.lang.String> getMappedLocalUserNames()
public java.lang.String getMappedRemoteUserForLocalUser(java.lang.String localUserName)
localUserName
-
public void setRemoteUserMappingForLocalUser(java.lang.String localUserName, java.lang.String remoteUserName)
localUserName
- remoteUserName
- public void removeRemoteUserMappingForLocalUser(java.lang.String localUserName)
localUserName
- public boolean isIdentityMappingEnabled()
true
if identity mapping is enabled.
When this is enabled all the remote users are automatically mapped to local users.
See various local user methods for details when identity mapping is enabled.
true
if identity mapping is enabled.public void setIdentityMappingEnabled(boolean identityMappingEnabled)
identityMappingEnabled
- public void validate() throws ValidationException
Validatable
validate
in interface Validatable
validate
in class ServiceAccountConfig
ValidationException
- if the validation fails.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |