Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response |
SamlProtocol.buildAuthenticatedResponse(ClientSessionModel clientSession,
String redirectUri,
Document samlDocument,
JaxrsSAML2BindingBuilder bindingBuilder) |
protected javax.ws.rs.core.Response |
SamlProtocol.buildErrorResponse(ClientSessionModel clientSession,
JaxrsSAML2BindingBuilder binding,
Document document) |
protected javax.ws.rs.core.Response |
SamlProtocol.buildLogoutResponse(UserSessionModel userSession,
String logoutBindingUri,
SAML2LogoutResponseBuilder builder,
JaxrsSAML2BindingBuilder binding) |
protected javax.ws.rs.core.Response |
JaxrsSAML2BindingBuilder.PostBindingBuilder.buildResponse(Document responseDoc,
String actionUrl,
boolean asRequest) |
javax.ws.rs.core.Response |
JaxrsSAML2BindingBuilder.PostBindingBuilder.request(String actionUrl) |
javax.ws.rs.core.Response |
JaxrsSAML2BindingBuilder.RedirectBindingBuilder.request(String redirect) |
javax.ws.rs.core.Response |
JaxrsSAML2BindingBuilder.PostBindingBuilder.response(String actionUrl) |
javax.ws.rs.core.Response |
JaxrsSAML2BindingBuilder.RedirectBindingBuilder.response(String redirectUri) |
Modifier and Type | Method and Description |
---|---|
String |
BaseSAML2BindingBuilder.base64Encoded(Document document) |
Document |
SAML2LogoutRequestBuilder.buildDocument() |
Document |
SAML2LoginResponseBuilder.buildDocument(ResponseType responseType) |
String |
BaseSAML2BindingBuilder.buildHtmlPostResponse(Document responseDoc,
String actionUrl,
boolean asRequest) |
ResponseType |
SAML2LoginResponseBuilder.buildModel() |
String |
BaseSAML2BindingBuilder.BasePostBindingBuilder.encoded() |
URI |
BaseSAML2BindingBuilder.generateRedirectUri(String samlParameterName,
String redirectUri,
Document document) |
URI |
BaseSAML2BindingBuilder.BaseRedirectBindingBuilder.generateURI(String redirectUri,
boolean asRequest) |
String |
BaseSAML2BindingBuilder.BasePostBindingBuilder.getHtmlRequest(String actionUrl) |
String |
BaseSAML2BindingBuilder.BasePostBindingBuilder.getHtmlResponse(String actionUrl) |
URI |
BaseSAML2BindingBuilder.BaseRedirectBindingBuilder.requestURI(String actionUrl) |
URI |
BaseSAML2BindingBuilder.BaseRedirectBindingBuilder.responseURI(String actionUrl) |
Modifier and Type | Method and Description |
---|---|
void |
PicketLinkLogger.authenticationManagerError(ConfigurationException e) |
void |
DefaultPicketLinkLogger.authenticationManagerError(ConfigurationException e) |
void |
PicketLinkLogger.authorizationManagerError(ConfigurationException e) |
void |
DefaultPicketLinkLogger.authorizationManagerError(ConfigurationException e) |
Modifier and Type | Class and Description |
---|---|
class |
TrustKeyConfigurationException
ConfigurationException in the TrustKeyManager
|
Modifier and Type | Method and Description |
---|---|
static Document |
DocumentUtil.createDocument()
Create a new document
|
static Document |
DocumentUtil.getDocument(File file)
Get Document from a file
|
static Document |
DocumentUtil.getDocument(InputStream is)
Get Document from an inputstream
|
static Document |
DocumentUtil.getDocument(Reader reader)
Parse a document from a reader
|
static Document |
DocumentUtil.getDocument(String docString)
Parse a document from the string
|
static String |
DocumentUtil.getDocumentAsString(Document signedDoc)
Marshall a document into a String
|
static Document |
DocumentUtil.getDocumentFromSource(Source source) |
static String |
DocumentUtil.getDOMElementAsString(Element element)
Marshall a DOM Element as string
|
static InputStream |
DocumentUtil.getNodeAsStream(Node node)
Stream a DOM Node as an input stream
|
static String |
DocumentUtil.getNodeAsString(Node node)
Stream a DOM Node as a String
|
static Node |
DocumentUtil.getNodeFromSource(Source source) |
static InputStream |
DocumentUtil.getSourceAsStream(Source source)
Get the
Source as an InputStream |
static Transformer |
TransformerUtil.getStaxSourceToDomResultTransformer()
Get the Custom Stax Source to DOM result transformer that has been written to get over the JDK transformer bugs
(JDK6) as well as the issue of Xalan installing its Transformer (which does not support stax).
|
static Transformer |
TransformerUtil.getTransformer()
Get the Default Transformer
|
Modifier and Type | Method and Description |
---|---|
Document |
SAML2Request.convert(RequestAbstractType rat)
Return the DOM object
|
Document |
SAML2Request.convert(ResponseType responseType)
Convert a SAML2 Response into a Document
|
AuthnRequestType |
SAML2Request.createAuthnRequestType(String id,
String assertionConsumerURL,
String destination,
String issuerValue)
Create an authentication request
|
LogoutRequestType |
SAML2Request.createLogoutRequest(String issuer)
Create a Logout Request
|
AuthnRequestType |
SAML2Request.getAuthnRequestType(InputStream is)
Get the AuthnRequestType from an input stream
|
AuthnRequestType |
SAML2Request.getAuthnRequestType(String fileName)
Get AuthnRequestType from a file
|
RequestAbstractType |
SAML2Request.getRequestType(InputStream is)
Get a Request Type from Input Stream
|
SAML2Object |
SAML2Request.getSAML2ObjectFromStream(InputStream is)
Get the Underlying SAML2Object from the input stream
|
Modifier and Type | Method and Description |
---|---|
Document |
SAML2Response.convert(EncryptedElementType encryptedElementType)
Convert an EncryptedElement into a Document
|
Document |
SAML2Response.convert(StatusResponseType responseType)
Convert a SAML2 Response into a Document
|
ResponseType |
SAML2Response.createResponseType(String ID,
IssuerInfoHolder issuerInfo,
AssertionType assertion)
Create a ResponseType
|
ResponseType |
SAML2Response.createResponseType(String ID,
IssuerInfoHolder issuerInfo,
Element encryptedAssertion)
Create a ResponseType
|
ResponseType |
SAML2Response.createResponseType(String ID,
SPInfoHolder sp,
IDPInfoHolder idp,
IssuerInfoHolder issuerInfo)
Create a ResponseType
NOTE:: The PicketLink STS is used to issue/update the assertion
If you want to control over the assertion being issued, then use
SAML2Response.createResponseType(String, SPInfoHolder, IDPInfoHolder, IssuerInfoHolder, AssertionType) |
ResponseType |
SAML2Response.createResponseType(String ID,
SPInfoHolder sp,
IDPInfoHolder idp,
IssuerInfoHolder issuerInfo,
AssertionType assertion)
Construct a
ResponseType without calling PicketLink STS for the assertion. |
void |
SAML2Response.createTimedConditions(AssertionType assertion,
long durationInMilis)
Add validity conditions to the SAML2 Assertion
|
AssertionType |
SAML2Response.getAssertionType(InputStream is)
Read an assertion from an input stream
|
EncryptedAssertionType |
SAML2Response.getEncryptedAssertion(InputStream is)
Get an encrypted assertion from the stream
|
ResponseType |
SAML2Response.getResponseType(InputStream is)
Read a ResponseType from an input stream
|
SAML2Object |
SAML2Response.getSAML2ObjectFromStream(InputStream is)
Read a
SAML2Object from an input stream |
Modifier and Type | Method and Description |
---|---|
AssertionType |
SAMLAssertionParser.fromElement(Element element) |
SAML11AssertionType |
SAML11AssertionParser.fromElement(Element element) |
Modifier and Type | Method and Description |
---|---|
static ResponseType |
JBossSAMLAuthnResponseFactory.createResponseType(String ID,
IssuerInfoHolder issuerInfo,
AssertionType assertionType)
Create a Response Type
|
static ResponseType |
JBossSAMLAuthnResponseFactory.createResponseType(String ID,
IssuerInfoHolder issuerInfo,
Element encryptedAssertion)
Create a Response Type
|
static ResponseType |
JBossSAMLAuthnResponseFactory.createResponseType(String ID,
SPInfoHolder sp,
IDPInfoHolder idp,
IssuerInfoHolder issuerInfo)
Create a ResponseType
|
Modifier and Type | Method and Description |
---|---|
static XMLGregorianCalendar |
XMLTimeUtil.add(XMLGregorianCalendar value,
long milis)
Add additional time in miliseconds
|
static void |
AssertionUtil.createSAML11TimedConditions(SAML11AssertionType assertion,
long durationInMilis,
long clockSkew)
Add validity conditions to the SAML2 Assertion
|
static void |
AssertionUtil.createTimedConditions(AssertionType assertion,
long durationInMilis)
Add validity conditions to the SAML2 Assertion
|
static void |
AssertionUtil.createTimedConditions(AssertionType assertion,
long durationInMilis,
long clockSkew)
Add validity conditions to the SAML2 Assertion
|
static ResponseType |
AssertionUtil.decryptAssertion(ResponseType responseType,
PrivateKey privateKey) |
static AssertionType |
AssertionUtil.getAssertion(ResponseType responseType,
PrivateKey privateKey) |
static X509Certificate |
SAMLMetadataUtil.getCertificate(KeyDescriptorType keyDescriptor)
Get the
X509Certificate from the KeyInfo |
static XMLGregorianCalendar |
XMLTimeUtil.getIssueInstant()
Get the current instant of time
|
static XMLGregorianCalendar |
XMLTimeUtil.getIssueInstant(String timezone)
Returns a XMLGregorianCalendar in the timezone specified.
|
static boolean |
AssertionUtil.hasExpired(AssertionType assertion)
Check whether the assertion has expired
|
static boolean |
AssertionUtil.hasExpired(AssertionType assertion,
long clockSkewInMilis)
Verify whether the assertion has expired.
|
static boolean |
AssertionUtil.hasExpired(SAML11AssertionType assertion)
Check whether the assertion has expired
|
static boolean |
AssertionUtil.hasExpired(SAML11AssertionType assertion,
long clockSkewInMilis)
Verify whether the assertion has expired.
|
static XMLGregorianCalendar |
XMLTimeUtil.subtract(XMLGregorianCalendar value,
long milis)
Subtract some miliseconds from the time value
|
Modifier and Type | Method and Description |
---|---|
static Element |
XMLEncryptionUtil.encryptElementInDocument(Document document,
PublicKey publicKey,
SecretKey secretKey,
int keySize,
QName wrappingElementQName,
boolean addEncryptedKeyInKeyInfo)
Encrypt the root document element inside a Document.
|
Modifier and Type | Method and Description |
---|---|
static AuthnRequestType |
RedirectBindingSignatureUtil.getRequestFromSignedURL(String signedURL)
From the SAML Request URL, get the Request object
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.