|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SAMLMessageManager
| Method Summary | |
|---|---|
void |
deleteKeys()
Deletes any generated DSA keys in the "/plugin-data/crowd-saml-plugin" folder. |
SAMLAuthResponse |
generateAuthResponse(SAMLAuthRequest authRequest,
java.lang.String authenticatedUser)
Generates a successful authentication response for an authentication request given the username of the authenticated user. |
void |
generateKeys()
Generates and stores the private and public keys in the Crowd home directory under the "/plugin-data/crowd-saml-plugin" folder. |
java.lang.String |
getKeyPath()
|
boolean |
hasValidKeys()
The SAMLMessageManager is ready to perform generate signatures if a valid key-pair has been loaded/generated. |
SAMLAuthRequest |
parseAuthRequest(java.lang.String samlRequestXML,
java.lang.String relayStateURL)
Parses the non null request parameters for a SAML request into a SAML request object. |
| Method Detail |
|---|
SAMLAuthRequest parseAuthRequest(java.lang.String samlRequestXML,
java.lang.String relayStateURL)
throws SAMLException
samlRequestXML - request XML string.relayStateURL - relay state URL.
SAMLException - error parsing request.
SAMLAuthResponse generateAuthResponse(SAMLAuthRequest authRequest,
java.lang.String authenticatedUser)
throws SAMLException
authRequest - authentication request object.authenticatedUser - username of authenticated user.
SAMLException - error generating or signing XML response.
void generateKeys()
throws SAMLException
SAMLException - if there was an error generating
or storing the new keys.void deleteKeys()
java.lang.String getKeyPath()
boolean hasValidKeys()
true if and only if a valid key-pair
exists.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||