|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sourceid.saml20.service.impl.localmemory.AccountLinkingServiceMapImpl
public class AccountLinkingServiceMapImpl
A HashMap backed implementation of the AccountLinkingService. Not really for production use.
Constructor Summary | |
---|---|
AccountLinkingServiceMapImpl()
|
Method Summary | |
---|---|
java.lang.String |
lookupLink(java.lang.String idpEntityId,
java.lang.String authnAdapterId,
java.lang.String externalIdentifier)
Lookup a local user id keyed from he composite key of idpEntityId, authnaAdapterId, and externalIdentifier. |
void |
storeLink(java.lang.String localIdentifier,
java.lang.String idpEntityId,
java.lang.String authnAdapterId,
java.lang.String externalIdentifier)
Store the account link - an association of the composite key of idpEntityId, authnaAdapterId, and externalIdentifier to the localIdentifier. |
void |
terminateLink(java.lang.String idpEntityId,
java.lang.String authnAdapterId,
java.lang.String externalIdentifier)
Terminate the account link identified by the he composite key of idpEntityId, authnaAdapterId, and externalIdentifier. |
void |
updateExternalId(java.lang.String newExternalIdentifier,
java.lang.String idpEntityId,
java.lang.String oldExternalIdentifier)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccountLinkingServiceMapImpl()
Method Detail |
---|
public java.lang.String lookupLink(java.lang.String idpEntityId, java.lang.String authnAdapterId, java.lang.String externalIdentifier) throws AccountLinkingServiceException
AccountLinkingService
lookupLink
in interface AccountLinkingService
idpEntityId
- the entity id of the IdP partner connection that issued the external identifier.authnAdapterId
- the id of the SpAuthenticationAdapter instance.externalIdentifier
- the external identifier sent by the IdP.
AccountLinkingServiceException
- for any unexpected runtime problem that the implementation cannot handle.public void storeLink(java.lang.String localIdentifier, java.lang.String idpEntityId, java.lang.String authnAdapterId, java.lang.String externalIdentifier) throws AccountLinkingServiceException
AccountLinkingService
storeLink
in interface AccountLinkingService
localIdentifier
- the the local user id of the principal.idpEntityId
- the entity id of the IdP partner connection that issued the external identifier.authnAdapterId
- the id of the SpAuthenticationAdapter instance.externalIdentifier
- the external identifier sent by the IdP.
AccountLinkingServiceException
- for any unexpected runtime problem that the implementation cannot handle.public void updateExternalId(java.lang.String newExternalIdentifier, java.lang.String idpEntityId, java.lang.String oldExternalIdentifier) throws AccountLinkingServiceException
AccountLinkingServiceException
public void terminateLink(java.lang.String idpEntityId, java.lang.String authnAdapterId, java.lang.String externalIdentifier) throws AccountLinkingServiceException
AccountLinkingService
terminateLink
in interface AccountLinkingService
idpEntityId
- the entity id of the IdP partner connection that issued the external identifier.authnAdapterId
- the id of the SpAuthenticationAdapter instance.externalIdentifier
- the external identifier sent by the IdP.
AccountLinkingServiceException
- for any unexpected runtime problem that the implementation cannot handle.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |