public class FSNameMappingHandler extends Object
ID-FF
name identifier mapping.Constructor and Description |
---|
FSNameMappingHandler(String entityID,
com.sun.identity.liberty.ws.meta.jaxb.ProviderDescriptorType hostedDesc,
com.sun.identity.federation.jaxb.entityconfig.BaseConfigType hostedConfig,
String metaAlias)
Construct a
FSNameMappingHandler object for a provider. |
Modifier and Type | Method and Description |
---|---|
NameIdentifier |
getNameIdentifier(FSNameIdentifierMappingRequest mappingRequest,
String remoteEntityID,
boolean local)
Returns
NameIdentifier of a remote provider. |
NameIdentifier |
getNameIdentifier(String userID,
String remoteEntityID,
boolean local)
Returns
NameIdentifier of a provider. |
static boolean |
verifyNameIdMappingResponseSignature(Element elt,
SOAPMessage msg,
String realm)
Verifies signature on name identifier mapping response.
|
public FSNameMappingHandler(String entityID, com.sun.identity.liberty.ws.meta.jaxb.ProviderDescriptorType hostedDesc, com.sun.identity.federation.jaxb.entityconfig.BaseConfigType hostedConfig, String metaAlias)
FSNameMappingHandler
object for a provider.entityID
- hosted provider's entity idhostedDesc
- hosted provider's meta descriptorhostedConfig
- hosted provider's extended meta configmetaAlias
- hsoted provider's meta aliaspublic NameIdentifier getNameIdentifier(String userID, String remoteEntityID, boolean local) throws FSAccountMgmtException, SAMLException
NameIdentifier
of a provider.userID
- user id.remoteEntityID
- the provider id whose
NameIdentifier
is to be returned.local
- true
if remoteProviderID
is
a local provider; false
otherwise.NameIdentifier
of an user corresponding to
remoteProviderID
.FSAccountMgmtException,
- SAMLException if an error occurred.FSAccountMgmtException
SAMLException
public NameIdentifier getNameIdentifier(FSNameIdentifierMappingRequest mappingRequest, String remoteEntityID, boolean local) throws FSAccountMgmtException, SAMLException
NameIdentifier
of a remote provider.mappingRequest
- name ID mapping request objectremoteEntityID
- the remote provider id whose
NameIdentifier
is to be returned.local
- true
if remoteProviderID
is
a local provider; false
otherwise.NameIdentifier
corresponding to
remoteProviderID
.FSAccountMgmtException,
- SAMLException if an error occurred.FSAccountMgmtException
SAMLException
public static boolean verifyNameIdMappingResponseSignature(Element elt, SOAPMessage msg, String realm)
elt
- DOM
element which contains
FSNameIdentifierMappingResopnse
msg
- SOAPMessage
object which contains signed
name identifier mapping response.realm
- the realm in which the provider residestrue
if the signature is valid; false
otherwise.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.