|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserMapping
Implementing this interface enables WebSphere Security to use customized mapping for certificates (Java and Web clients) and for Identity assertion tokens. Implementation of this interface must provide implementations for:
Method Summary | |
---|---|
java.lang.String |
mapCertificateToName(java.security.cert.X509Certificate[] cert)
Maps a Certificate (of X509 format) to a valid user in the Registry. |
java.lang.String |
mapDNToName(java.lang.String dn)
Maps a Distinguised Name (DN) to a valid user in the Registry. |
java.lang.String |
mapPrincipalToName(java.lang.String principalName)
Maps a PrincipalName to a valid user in the Registry. |
Method Detail |
---|
java.lang.String mapCertificateToName(java.security.cert.X509Certificate[] cert) throws UserMappingException, NotImplementedException
cert
- the X509 certificate chain
UserMappingException
- if the mapping of the
certificate fails.
NotImplementedException
- if this implementation is not supported.
In this case the default implementation is used.java.lang.String mapDNToName(java.lang.String dn) throws UserMappingException, NotImplementedException
String
- the Distinguised Name(DN) in the Identity Assertion Token.
UserMappingException
- if the mapping of the
DN fails.
NotImplementedException
- if this implementation is not supported.
In this case the default implementation is used.java.lang.String mapPrincipalToName(java.lang.String principalName) throws UserMappingException, NotImplementedException
String
- the PrincipalName in the Identity Assertion Token.
UserMappingException
- if the mapping of the
PrincipalName fails.
NotImplementedException
- if this implementation is not supported.
In this case the default implementation is used.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |