public interface UserMapping
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String mapCertificateToName(java.security.cert.X509Certificate[] cert) throws UserMappingException, NotImplementedException
cert
- the X509 certificate chainUserMappingException
- 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.