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 |
---|---|
static Element |
KeyUtil.getKeyInfo(Certificate certificate)
Given a certificate, build a keyinfo type
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractIDPValve.sendErrorResponseToSP(String referrer,
Response response,
String relayState,
IDPWebRequestUtil webRequestUtil) |
Modifier and Type | Method and Description |
---|---|
AuthnRequestType |
SPUtil.createSAMLRequest(String serviceURL,
String identityURL)
Create a SAML2 auth request
|
protected void |
BaseFormAuthenticator.initializeHandlerChain() |
protected void |
BaseFormAuthenticator.populateChainConfig() |
protected void |
AbstractSPFormAuthenticator.sendHttpPostBindingRequest(String destination,
Document samlDocument,
String relayState,
Response response,
boolean willSendRequest)
Sends a HTTP POST request to the IDP.
|
protected void |
AbstractSPFormAuthenticator.sendHttpRedirectRequest(String destination,
Document samlDocument,
String relayState,
Response response,
boolean willSendRequest,
String destinationQueryStringWithSignature)
Sends a HTTP Redirect request to the IDP.
|
protected void |
AbstractSPFormAuthenticator.sendRequestToIDP(String destination,
Document samlDocument,
String relayState,
Request request,
Response response,
boolean willSendRequest,
String destinationQueryStringWithSignature)
Send the request to the IDP.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SPFormAuthenticationMechanism.initializeHandlerChain() |
protected void |
SPFormAuthenticationMechanism.populateChainConfig() |
Modifier and Type | Method and Description |
---|---|
protected void |
PicketLinkAuditHelper.configureAuditManager(String securityDomainName) |
static String |
PicketLinkAuditHelper.getSecurityDomainName(ServletContext servletContext)
Given the servlet context, determine the security domain by which
the web app is secured.
|
Constructor and Description |
---|
PicketLinkAuditHelper(ServletContext servletContext) |
PicketLinkAuditHelper(String securityDomainName)
Create a
PicketLinkAuditHelper |
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 |
---|---|
void |
SAML2Handler.initChainConfig(SAML2HandlerChainConfig handlerChainConfig)
Initialize the handler
|
void |
SAML2Handler.initHandlerConfig(SAML2HandlerConfig handlerConfig)
Initialize the handler from configuration
|
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 X509Certificate |
SAMLMetadataUtil.getCertificate(KeyDescriptorType keyDescriptor)
Get the
X509Certificate from the KeyInfo |
static XACMLAuthzDecisionStatementType |
SOAPSAMLXACMLUtil.getDecisionStatement(Node samlResponse) |
static Set<SAML2Handler> |
HandlerUtil.getHandlers(Handlers handlers) |
static XMLGregorianCalendar |
XMLTimeUtil.getIssueInstant()
Get the current instant of time
|
static XMLGregorianCalendar |
XMLTimeUtil.getIssueInstant(String timezone)
Returns a XMLGregorianCalendar in the timezone specified.
|
static XACMLAuthzDecisionQueryType |
SOAPSAMLXACMLUtil.getXACMLQueryType(Node samlRequest)
Parse the XACML Authorization Decision Query from the Dom Element
|
static ResponseType |
SOAPSAMLXACMLUtil.handleXACMLQuery(org.jboss.security.xacml.interfaces.PolicyDecisionPoint pdp,
String issuer,
XACMLAuthzDecisionQueryType xacmlRequest) |
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 |
---|---|
void |
ServiceProviderSAMLWorkflow.sendHttpPostBindingRequest(String destination,
Document samlDocument,
String relayState,
HttpServletResponse response,
boolean willSendRequest)
Sends a HTTP POST request to the IDP.
|
void |
ServiceProviderSAMLWorkflow.sendHttpRedirectRequest(String destination,
Document samlDocument,
String relayState,
HttpServletResponse response,
boolean willSendRequest,
String destinationQueryStringWithSignature)
Sends a HTTP Redirect request to the IDP.
|
void |
ServiceProviderSAMLWorkflow.sendRequestToIDP(String destination,
Document samlDocument,
String relayState,
HttpServletResponse response,
boolean willSendRequest,
String destinationQueryStringWithSignature,
boolean httpPostBinding)
Send the request to the IDP.
|
Modifier and Type | Method and Description |
---|---|
protected STSConfiguration |
PicketLinkCoreSTS.getConfiguration(String fileName)
Obtains the STS configuration options.
|
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.
|
static SPType |
CoreConfigUtil.getSPConfiguration(EntitiesDescriptorType entitiesDescriptor,
String bindingURI)
Given a metadata
EntityDescriptorType , construct the Service provider configuration |
static PublicKey |
CoreConfigUtil.getValidatingKey(ProviderType idpSpConfiguration,
String domain)
Get the validating key
|
static PublicKey |
CoreConfigUtil.getValidatingKey(TrustKeyManager trustKeyManager,
String domain)
Get the validating key given the trust key manager
|
Modifier and Type | Method and Description |
---|---|
protected STSConfiguration |
PicketLinkSTS.getConfiguration()
Obtains the STS configuration options.
|
Modifier and Type | Method and Description |
---|---|
static AssertionType |
SAMLUtil.fromElement(Element assertionElement)
Utility method that unmarshals the specified
Element into an AssertionType instance. |
Modifier and Type | Method and Description |
---|---|
Principal |
SPFilter.handleSAMLResponse(HttpServletRequest request,
ResponseType responseType)
Handle the SAMLResponse from the IDP
|
protected void |
IDPFilter.sendErrorResponseToSP(String referrer,
HttpServletResponse response,
String relayState,
IDPWebRequestUtil webRequestUtil) |
Modifier and Type | Method and Description |
---|---|
void |
SAML2AttributeHandler.initChainConfig(SAML2HandlerChainConfig handlerChainConfig) |
void |
RolesGenerationHandler.initChainConfig(SAML2HandlerChainConfig handlerChainConfig) |
void |
BaseSAML2Handler.initChainConfig(SAML2HandlerChainConfig handlerChainConfig) |
void |
SAML2AttributeHandler.initHandlerConfig(SAML2HandlerConfig handlerConfig) |
void |
RolesGenerationHandler.initHandlerConfig(SAML2HandlerConfig handlerConfig) |
void |
BaseSAML2Handler.initHandlerConfig(SAML2HandlerConfig handlerConfig)
Initialize the handler
|
Modifier and Type | Method and Description |
---|---|
SAML2HandlerResponse |
ServiceProviderBaseProcessor.process(HTTPContext httpContext,
Set<SAML2Handler> handlers,
Lock chainLock) |
SAML2HandlerResponse |
ServiceProviderSAMLResponseProcessor.process(String samlResponse,
HTTPContext httpContext,
Set<SAML2Handler> handlers,
Lock chainLock)
Process the message
|
boolean |
ServiceProviderSAMLRequestProcessor.process(String samlRequest,
HTTPContext httpContext,
Set<SAML2Handler> handlers,
Lock chainLock)
Process the message
|
protected void |
ServiceProviderSAMLRequestProcessor.sendRequestToIDP(String destination,
Document samlDocument,
String relayState,
HttpServletResponse response,
boolean willSendRequest)
Send the request to the IDP
|
Modifier and Type | Method and Description |
---|---|
protected void |
IDPServlet.sendErrorResponseToSP(String referrer,
HttpServletResponse response,
String relayState,
IDPWebRequestUtil webRequestUtil) |
Modifier and Type | Method and Description |
---|---|
static PicketLinkType |
ConfigurationUtil.getConfiguration(ServletContext servletContext) |
static AuthnRequestType |
RedirectBindingSignatureUtil.getRequestFromSignedURL(String signedURL)
From the SAML Request URL, get the Request object
|
SAMLDocumentHolder |
IDPWebRequestUtil.getSAMLDocumentHolder(String samlMessage) |
RequestAbstractType |
IDPWebRequestUtil.getSAMLRequest(String samlMessage) |
Modifier and Type | Method and Description |
---|---|
protected AuthenticationManager |
AbstractWSAuthenticationHandler.getAuthenticationManager(MessageContext msgContext)
Returns the
AuthenticationManager associated with the application's security domain. |
protected AuthorizationManager |
AbstractWSAuthorizationHandler.getAuthorizationManager(MessageContext msgContext)
Returns the
AuthorizationManager associated with the application's security domain. |
protected String |
AbstractPicketLinkTrustHandler.getSecurityDomainName(MessageContext msgContext)
Returns the security domain name configured for the deployment.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.