|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.identity.federation.bindings.util.RedirectBindingSignatureUtil
public class RedirectBindingSignatureUtil
Signature Support for the HTTP/Redirect binding
| Constructor Summary | |
|---|---|
RedirectBindingSignatureUtil()
|
|
| Method Summary | |
|---|---|
static AuthnRequestType |
getRequestFromSignedURL(java.lang.String signedURL)
From the SAML Request URL, get the Request object |
static java.lang.String |
getSAMLRequestURLWithSignature(AuthnRequestType authRequest,
java.lang.String relayState,
java.security.PrivateKey signingKey)
Get the URL for the SAML request that contains the signature and signature algorithm |
static java.lang.String |
getSAMLRequestURLWithSignature(java.lang.String urlEncodedRequest,
java.lang.String urlEncodedRelayState,
java.security.PrivateKey signingKey)
Given an url-encoded saml request and relay state and a private key, compute the url |
static java.lang.String |
getSAMLResponseURLWithSignature(ResponseType responseType,
java.lang.String relayState,
java.security.PrivateKey signingKey)
Get the URL for the SAML request that contains the signature and signature algorithm |
static java.lang.String |
getSAMLResponseURLWithSignature(java.lang.String urlEncodedResponse,
java.lang.String urlEncodedRelayState,
java.security.PrivateKey signingKey)
Given an url-encoded saml response and relay state and a private key, compute the url |
static byte[] |
getSignatureValueFromSignedURL(java.lang.String signedURL)
Get the signature value from the url |
static java.lang.String |
getTokenValue(java.lang.String queryString,
java.lang.String token)
From the query string that contains key/value pairs, get the value of a key Note: if the token is null, a null value is returned |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RedirectBindingSignatureUtil()
| Method Detail |
|---|
public static java.lang.String getSAMLRequestURLWithSignature(AuthnRequestType authRequest,
java.lang.String relayState,
java.security.PrivateKey signingKey)
throws java.lang.Exception
authRequest - relayState - signingKey -
java.lang.Exception
public static java.lang.String getSAMLResponseURLWithSignature(ResponseType responseType,
java.lang.String relayState,
java.security.PrivateKey signingKey)
throws java.lang.Exception
responseType - relayState - signingKey -
java.lang.Exception
public static java.lang.String getSAMLRequestURLWithSignature(java.lang.String urlEncodedRequest,
java.lang.String urlEncodedRelayState,
java.security.PrivateKey signingKey)
throws java.lang.Exception
urlEncodedRequest - urlEncodedRelayState - signingKey -
java.lang.Exception
public static java.lang.String getSAMLResponseURLWithSignature(java.lang.String urlEncodedResponse,
java.lang.String urlEncodedRelayState,
java.security.PrivateKey signingKey)
throws java.lang.Exception
urlEncodedResponse - urlEncodedRelayState - signingKey -
java.lang.Exception
public static AuthnRequestType getRequestFromSignedURL(java.lang.String signedURL)
throws java.lang.Exception
signedURL -
java.lang.Exception
public static byte[] getSignatureValueFromSignedURL(java.lang.String signedURL)
throws java.lang.Exception
signedURL -
java.lang.Exception
public static java.lang.String getTokenValue(java.lang.String queryString,
java.lang.String token)
queryString - token -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||