Class FSAssertionManagerImpl
- java.lang.Object
-
- com.sun.identity.federation.services.FSAssertionManagerImpl
-
- All Implemented Interfaces:
FSAssertionManagerIF,Remote
public class FSAssertionManagerImpl extends Object implements FSAssertionManagerIF
This class implements interfaceFSAssertionManagerIF.
-
-
Field Summary
Fields Modifier and Type Field Description protected static booleanisLocal
-
Constructor Summary
Constructors Constructor Description FSAssertionManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckForLocal()Turns on the local flag.StringgetAssertion(String metaAlias, String artifact, String destID)Returns assertion associated with the artifact.StringgetDestIdForArtifact(String metaAlias, String artifact)Returns the destination id the artifact is created for.StringgetErrorStatus(String metaAlias, String artifact)Returns the error status of a given artifact.booleanisUserExists(String userDN, String metaAlias)Checks if the user exists.
-
-
-
Method Detail
-
checkForLocal
public void checkForLocal()
Turns on the local flag.- Specified by:
checkForLocalin interfaceFSAssertionManagerIF
-
getAssertion
public String getAssertion(String metaAlias, String artifact, String destID) throws FSRemoteException
Returns assertion associated with the artifact.- Specified by:
getAssertionin interfaceFSAssertionManagerIF- Parameters:
metaAlias- hosted provider's meta alias.artifact- assertion artifact.destID- The destination site requesting the assertion using the artifact.- Returns:
- The Assertion referenced to by artifact.
- Throws:
FSRemoteException
-
getDestIdForArtifact
public String getDestIdForArtifact(String metaAlias, String artifact) throws FSRemoteException
Returns the destination id the artifact is created for.- Specified by:
getDestIdForArtifactin interfaceFSAssertionManagerIF- Parameters:
metaAlias- hosted provider's meta aliasartifact- assertion artifact string- Returns:
- destination id
- Throws:
FSRemoteException- if error occurred.
-
isUserExists
public boolean isUserExists(String userDN, String metaAlias) throws FSRemoteException
Checks if the user exists.- Specified by:
isUserExistsin interfaceFSAssertionManagerIF- Parameters:
userDN- user IDmetaAlias- provider's Meta Alias.- Returns:
trueif the user exists;falseotherwise.- Throws:
FSRemoteException
-
getErrorStatus
public String getErrorStatus(String metaAlias, String artifact) throws FSRemoteException
Description copied from interface:FSAssertionManagerIFReturns the error status of a given artifact.- Specified by:
getErrorStatusin interfaceFSAssertionManagerIF- Parameters:
metaAlias- hosted provider's meta alias- Returns:
- status encoded in XML
- Throws:
FSRemoteException
-
-