|
||||||||||
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,
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. |
String |
getKeyPath()
|
boolean |
hasValidKeys()
The SAMLMessageManager is ready to perform generate signatures if a valid key-pair has been loaded/generated. |
SAMLAuthRequest |
parseAuthRequest(String samlRequestXML,
String relayStateURL,
String samlEncoding)
Parses the non null request parameters for a SAML request into a SAML request object. |
Method Detail |
---|
SAMLAuthRequest parseAuthRequest(String samlRequestXML, String relayStateURL, String samlEncoding) throws SAMLException
samlRequestXML
- request XML string, already URL-decoded, but still Base64 encoded and zippedrelayStateURL
- relay state URL.
SAMLException
- error parsing request.SAMLAuthResponse generateAuthResponse(SAMLAuthRequest authRequest, 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()
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 |