Package org.pac4j.saml.context
Class SAML2ConfigurationContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
org.pac4j.saml.context.SAML2ConfigurationContext
- All Implemented Interfaces:
Iterable<org.opensaml.messaging.context.BaseContext>
public class SAML2ConfigurationContext
extends org.opensaml.messaging.context.BaseContext
This is
SAML2ConfigurationContext
.- Since:
- 5.0.0
- Author:
- Misagh Moayyed
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
org.opensaml.messaging.context.BaseContext.ContextSetNoRemoveIteratorDecorator, org.opensaml.messaging.context.BaseContext.DeprecatedContextClassNameLookAside
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
ConstantREQUEST_ATTR_ASSERTION_CONSUMER_SERVICE_INDEX="AssertionConsumerServiceIndex"
static final String
ConstantREQUEST_ATTR_ATTRIBUTE_CONSUMING_SERVICE_INDEX="AttributeConsumingServiceIndex"
static final String
ConstantREQUEST_ATTR_AUTHN_CONTEXT_CLASS_REFS="AuthnContextClassRefs"
static final String
ConstantREQUEST_ATTR_AUTHN_REQUEST_BINDING_TYPE="AuthnRequestBindingType"
static final String
ConstantREQUEST_ATTR_COMPARISON_TYPE="ComparisonType"
static final String
ConstantREQUEST_ATTR_ISSUER_FORMAT="IssuerFormat"
static final String
ConstantREQUEST_ATTR_MAXIMUM_AUTHENTICATION_LIFETIME="MaximumAuthenticationLifetime"
static final String
ConstantREQUEST_ATTR_NAME_ID_ATTRIBUTE="NameIdAttribute"
static final String
ConstantREQUEST_ATTR_NAME_ID_POLICY_ALLOW_CREATE="NameIdPolicyAllowCreate"
static final String
ConstantREQUEST_ATTR_NAME_ID_POLICY_FORMAT="NameIdPolicyFormat"
static final String
ConstantREQUEST_ATTR_PROVIDER_NAME="ProviderName"
static final String
ConstantREQUEST_ATTR_USE_NAME_QUALIFIER="UseNameQualifier"
static final String
ConstantREQUEST_ATTR_WANTS_ASSERTIONS_SIGNED="WantsAssertionsSigned"
static final String
ConstantREQUEST_ATTR_WANTS_RESPONSES_SIGNED="WantsResponsesSigned"
-
Constructor Summary
ConstructorDescriptionSAML2ConfigurationContext
(org.pac4j.core.context.WebContext webContext, SAML2Configuration configuration) Constructor for SAML2ConfigurationContext. -
Method Summary
Modifier and TypeMethodDescriptiongetAssertionConsumerServiceIndex.getAttributeConsumingServiceIndex.getAuthnContextClassRefs.getAuthnRequestBindingType.getComparisonType.getIssuerFormat.getMaximumAuthenticationLifetime.getNameIdAttribute.getNameIdPolicyFormat.getProviderName.getSAML2Configuration.isForceAuth.isNameIdPolicyAllowCreate.isPassive.isUseNameQualifier.isWantsAssertionsSigned.boolean
isWantsResponsesSigned.Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, ensureSubcontext, ensureSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeFromParent, removeSubcontext, removeSubcontext, setParent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
REQUEST_ATTR_AUTHN_REQUEST_BINDING_TYPE
ConstantREQUEST_ATTR_AUTHN_REQUEST_BINDING_TYPE="AuthnRequestBindingType"
- See Also:
-
REQUEST_ATTR_ASSERTION_CONSUMER_SERVICE_INDEX
ConstantREQUEST_ATTR_ASSERTION_CONSUMER_SERVICE_INDEX="AssertionConsumerServiceIndex"
- See Also:
-
REQUEST_ATTR_ATTRIBUTE_CONSUMING_SERVICE_INDEX
ConstantREQUEST_ATTR_ATTRIBUTE_CONSUMING_SERVICE_INDEX="AttributeConsumingServiceIndex"
- See Also:
-
REQUEST_ATTR_COMPARISON_TYPE
ConstantREQUEST_ATTR_COMPARISON_TYPE="ComparisonType"
- See Also:
-
REQUEST_ATTR_NAME_ID_POLICY_FORMAT
ConstantREQUEST_ATTR_NAME_ID_POLICY_FORMAT="NameIdPolicyFormat"
- See Also:
-
REQUEST_ATTR_NAME_ID_POLICY_ALLOW_CREATE
ConstantREQUEST_ATTR_NAME_ID_POLICY_ALLOW_CREATE="NameIdPolicyAllowCreate"
- See Also:
-
REQUEST_ATTR_PROVIDER_NAME
ConstantREQUEST_ATTR_PROVIDER_NAME="ProviderName"
- See Also:
-
REQUEST_ATTR_ISSUER_FORMAT
ConstantREQUEST_ATTR_ISSUER_FORMAT="IssuerFormat"
- See Also:
-
REQUEST_ATTR_USE_NAME_QUALIFIER
ConstantREQUEST_ATTR_USE_NAME_QUALIFIER="UseNameQualifier"
- See Also:
-
REQUEST_ATTR_AUTHN_CONTEXT_CLASS_REFS
ConstantREQUEST_ATTR_AUTHN_CONTEXT_CLASS_REFS="AuthnContextClassRefs"
- See Also:
-
REQUEST_ATTR_NAME_ID_ATTRIBUTE
ConstantREQUEST_ATTR_NAME_ID_ATTRIBUTE="NameIdAttribute"
- See Also:
-
REQUEST_ATTR_WANTS_ASSERTIONS_SIGNED
ConstantREQUEST_ATTR_WANTS_ASSERTIONS_SIGNED="WantsAssertionsSigned"
- See Also:
-
REQUEST_ATTR_WANTS_RESPONSES_SIGNED
ConstantREQUEST_ATTR_WANTS_RESPONSES_SIGNED="WantsResponsesSigned"
- See Also:
-
REQUEST_ATTR_MAXIMUM_AUTHENTICATION_LIFETIME
ConstantREQUEST_ATTR_MAXIMUM_AUTHENTICATION_LIFETIME="MaximumAuthenticationLifetime"
- See Also:
-
-
Constructor Details
-
SAML2ConfigurationContext
public SAML2ConfigurationContext(org.pac4j.core.context.WebContext webContext, SAML2Configuration configuration) Constructor for SAML2ConfigurationContext.
- Parameters:
webContext
- aWebContext
objectconfiguration
- aSAML2Configuration
object
-
-
Method Details
-
getSAML2Configuration
getSAML2Configuration.
- Returns:
- a
SAML2Configuration
object
-
getAuthnRequestBindingType
getAuthnRequestBindingType.
- Returns:
- a
String
object
-
getAssertionConsumerServiceIndex
getAssertionConsumerServiceIndex.
- Returns:
- a
Integer
object
-
getAttributeConsumingServiceIndex
getAttributeConsumingServiceIndex.
- Returns:
- a
Integer
object
-
getComparisonType
getComparisonType.
- Returns:
- a
String
object
-
getNameIdPolicyFormat
getNameIdPolicyFormat.
- Returns:
- a
String
object
-
isNameIdPolicyAllowCreate
isNameIdPolicyAllowCreate.
- Returns:
- a
Boolean
object
-
getProviderName
getProviderName.
- Returns:
- a
String
object
-
getIssuerFormat
getIssuerFormat.
- Returns:
- a
String
object
-
isUseNameQualifier
isUseNameQualifier.
- Returns:
- a
Boolean
object
-
getAuthnContextClassRefs
getAuthnContextClassRefs.
- Returns:
- a
List
object
-
isPassive
isPassive.
- Returns:
- a
Boolean
object
-
isForceAuth
isForceAuth.
- Returns:
- a
Boolean
object
-
getNameIdAttribute
getNameIdAttribute.
- Returns:
- a
String
object
-
isWantsAssertionsSigned
isWantsAssertionsSigned.
- Returns:
- a
Boolean
object
-
getMaximumAuthenticationLifetime
getMaximumAuthenticationLifetime.
- Returns:
- a
Long
object
-
isWantsResponsesSigned
public boolean isWantsResponsesSigned()isWantsResponsesSigned.
- Returns:
- a boolean
-