|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.identity.federation.api.saml.v2.request.SAML2Request
public class SAML2Request
API for SAML2 Request
Constructor Summary | |
---|---|
SAML2Request()
|
Method Summary | |
---|---|
AuthnRequestType |
createAuthnRequestType(java.lang.String id,
java.lang.String assertionConsumerURL,
java.lang.String destination,
java.lang.String issuerValue)
Create an authentication request |
LogoutRequestType |
createLogoutRequest(java.lang.String issuer)
Create a Logout Request |
AuthnRequestType |
getAuthnRequestType(java.io.InputStream is)
Get the AuthnRequestType from an input stream |
AuthnRequestType |
getAuthnRequestType(java.lang.String fileName)
Get AuthnRequestType from a file |
RequestAbstractType |
getRequestType(java.io.InputStream is)
Get a Request Type from Input Stream |
void |
marshall(RequestAbstractType requestType,
java.io.OutputStream os)
Marshall the AuthnRequestType to an output stream |
void |
marshall(RequestAbstractType requestType,
java.io.Writer writer)
Marshall the AuthnRequestType to a writer |
XACMLAuthzDecisionQueryType |
parseXACMLDecisionQuery(java.io.InputStream is)
XACMLAuthorizationDecisionQuery from an input stream |
XACMLAuthzDecisionQueryType |
parseXACMLDecisionQuery(java.lang.String resourceName)
Parse an XACML Authorization Decision Query from an xml file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAML2Request()
Method Detail |
---|
public AuthnRequestType createAuthnRequestType(java.lang.String id, java.lang.String assertionConsumerURL, java.lang.String destination, java.lang.String issuerValue) throws java.lang.Exception
id
- assertionConsumerURL
- destination
- issuerValue
-
java.lang.Exception
public AuthnRequestType getAuthnRequestType(java.lang.String fileName) throws java.lang.Exception
fileName
- file with the serialized AuthnRequestType
java.lang.Exception
java.lang.IllegalArgumentException
- if the input fileName is null
IllegalStateException if the InputStream from the fileName is nullpublic RequestAbstractType getRequestType(java.io.InputStream is) throws java.lang.Exception
is
-
java.lang.Exception
java.lang.IllegalArgumentException
- inputstream is nullpublic AuthnRequestType getAuthnRequestType(java.io.InputStream is) throws java.lang.Exception
is
- Inputstream containing the AuthnRequest
java.lang.Exception
java.lang.IllegalArgumentException
- inputstream is nullpublic LogoutRequestType createLogoutRequest(java.lang.String issuer) throws java.lang.Exception
issuer
-
java.lang.Exception
public XACMLAuthzDecisionQueryType parseXACMLDecisionQuery(java.lang.String resourceName) throws java.lang.Exception
resourceName
-
java.lang.Exception
public XACMLAuthzDecisionQueryType parseXACMLDecisionQuery(java.io.InputStream is) throws java.lang.Exception
is
- The InputStream where the xacml query exists
java.lang.Exception
public void marshall(RequestAbstractType requestType, java.io.OutputStream os) throws java.lang.Exception
requestType
- os
-
java.lang.Exception
public void marshall(RequestAbstractType requestType, java.io.Writer writer) throws java.lang.Exception
requestType
- writer
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |