|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.identity.authentication.spi.SAMLCallback
This SAMLCallback
class implements Callback
and used for passing either Web artifact or SAML POST response from
SAML service to the SAML authentication module when this module requests for
the respective credentials. This authentication module behaves as SAML
recipient for both (Web artifact or SAML POST response) and
retrieves / validates SAML assertions.
Field Summary | |
static int |
ARTIFACT
Credential type for SAML Web Artifact |
static int |
RESPONSE
Credential type for SAML POST Response |
Constructor Summary | |
SAMLCallback(java.lang.String prompt)
Constructs a SAMLCallback with a prompt. |
Method Summary | |
java.lang.String[] |
getArtifact()
Returns the SAML web artifact. |
boolean |
getCheckSignature()
Returns the flag indicating whether signature verification is required for SAML POST response. |
java.lang.String |
getPrompt()
Returns the prompt. |
Response |
getSamlResponse()
Returns the SAML POST response. |
int |
getType()
Returns the type of credential requested. |
void |
setArtifact(java.lang.String[] arti)
Sets the SAML web artifact. |
void |
setCheckSignature(boolean checkSignature)
Sets the flag indicating whether signature verification is required for SAML POST response. |
void |
setSamlResponse(Response samlResponse)
Sets the SAML POST response. |
void |
setType(int type)
Sets the type of credential requested. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ARTIFACT
public static final int RESPONSE
Constructor Detail |
public SAMLCallback(java.lang.String prompt)
SAMLCallback
with a prompt.prompt
- The prompt.Method Detail |
public Response getSamlResponse()
public java.lang.String[] getArtifact()
public int getType()
public java.lang.String getPrompt()
public boolean getCheckSignature()
public void setSamlResponse(Response samlResponse)
samlResponse
- the SAML POST response.public void setArtifact(java.lang.String[] arti)
arti
- the String array of SAML web artifact.public void setType(int type)
type
- the type of credential requested.public void setCheckSignature(boolean checkSignature)
checkSignature
- the boolean flag indicating whether signature
verification is required for SAML POST response.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |