Interface BrowserSSOProfileConfiguration
- All Superinterfaces:
Component,IdentifiedComponent,ProfileConfiguration,SAML2ProfileConfiguration,SAMLArtifactConsumerProfileConfiguration,SAMLAssertionConsumingProfileConfiguration,SAMLProfileConfiguration
- All Known Subinterfaces:
ECPProfileConfiguration
public interface BrowserSSOProfileConfiguration
extends SAMLArtifactConsumerProfileConfiguration, SAML2ProfileConfiguration, SAMLAssertionConsumingProfileConfiguration
Configuration for SAML 2.0 Browser SSO profile.
Note that this interface extends SAMLAssertionConsumingProfileConfiguration due to both
IdP and SP functionality including that step, but not the "producing" interface, as that is IdP-only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBit constant for RequestedAuthnContext feature.static final intBit constant for ForceAuthn feature.static final intBit constant for NameIDPolicy Format feature.static final intBit constant for Scoping feature.static final intBit constant for NameIDPolicy SPNameQualifier feature.static final StringID for this profile configuration.Fields inherited from interface net.shibboleth.profile.config.ProfileConfiguration
DEFAULT_DISALLOWED_FEATURES -
Method Summary
Modifier and TypeMethodDescriptiongetAttributeIndex(ProfileRequestContext profileRequestContext) Get the AttributeConsumingServiceIndex to include in the SAML request.getAuthnContextComparison(ProfileRequestContext profileRequestContext) Get the comparison operator to use when issuing SAML requests containing requested context classes.getMaximumTimeSinceAuthn(ProfileRequestContext profileRequestContext) Get the maximum amount of time allowed to have elapsed since an incoming AuthnInstant.getProxyCount(ProfileRequestContext profileRequestContext) Gets the maximum number of times an assertion may be proxied to signal in the SAML request.getRequestedAttributes(ProfileRequestContext profileRequestContext) Get the list ofRequestedAttributeobjects to include in the SAML request (via extension).getSPNameQualifier(ProfileRequestContext profileRequestContext) Get the SPNameQualifier to include in the SAML request.booleanisCheckAddress(ProfileRequestContext profileRequestContext) Get whether the client's address must match the address in an inboundSubjectLocalityelement during inbound SSO.booleanisForceAuthn(ProfileRequestContext profileRequestContext) Get whether a fresh user presence proof should be required for this request.Methods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.profile.config.ProfileConfiguration
getDisallowedFeatures, getSecurityConfiguration, isFeatureDisallowedMethods inherited from interface net.shibboleth.saml.saml2.profile.config.SAML2ProfileConfiguration
isEncryptionOptional, isEncryptNameIDs, isIgnoreRequestSignaturesMethods inherited from interface net.shibboleth.saml.profile.config.SAMLArtifactConsumerProfileConfiguration
isClientTLSArtifactRequests, isSignArtifactRequestsMethods inherited from interface net.shibboleth.saml.profile.config.SAMLAssertionConsumingProfileConfiguration
getAssertionAudiences, getAssertionLifetime, isRequireSignedAssertionsMethods inherited from interface net.shibboleth.saml.profile.config.SAMLProfileConfiguration
getMessageHandler, isSignRequests, isSignResponses
-
Field Details
-
PROFILE_ID
ID for this profile configuration.- See Also:
-
FEATURE_AUTHNCONTEXT
static final int FEATURE_AUTHNCONTEXTBit constant for RequestedAuthnContext feature.- See Also:
-
FEATURE_SCOPING
static final int FEATURE_SCOPINGBit constant for Scoping feature.- See Also:
-
FEATURE_NAMEIDFORMAT
static final int FEATURE_NAMEIDFORMATBit constant for NameIDPolicy Format feature.- See Also:
-
FEATURE_SPNAMEQUALIFIER
static final int FEATURE_SPNAMEQUALIFIERBit constant for NameIDPolicy SPNameQualifier feature.- See Also:
-
FEATURE_FORCEAUTHN
static final int FEATURE_FORCEAUTHNBit constant for ForceAuthn feature.- See Also:
-
-
Method Details
-
isForceAuthn
@ConfigurationSetting(name="forceAuthn") boolean isForceAuthn(@Nullable ProfileRequestContext profileRequestContext) Get whether a fresh user presence proof should be required for this request.- Parameters:
profileRequestContext- current profile request context- Returns:
- true iff a fresh user presence proof should be required for this request
-
isCheckAddress
@ConfigurationSetting(name="checkAddress") boolean isCheckAddress(@Nullable ProfileRequestContext profileRequestContext) Get whether the client's address must match the address in an inboundSubjectLocalityelement during inbound SSO.- Parameters:
profileRequestContext- current profile request context- Returns:
- whether to compare addresses
-
getMaximumTimeSinceAuthn
@ConfigurationSetting(name="maximumTimeSinceAuthn") @NonNegative @Nullable Duration getMaximumTimeSinceAuthn(@Nullable ProfileRequestContext profileRequestContext) Get the maximum amount of time allowed to have elapsed since an incoming AuthnInstant.A null or 0 is interpreted as an unlimited amount.
- Parameters:
profileRequestContext- current profile request context- Returns:
- max time since inbound AuthnInstant
-
getProxyCount
@ConfigurationSetting(name="proxyCount") @NonNegative @Nullable Integer getProxyCount(@Nullable ProfileRequestContext profileRequestContext) Gets the maximum number of times an assertion may be proxied to signal in the SAML request.- Parameters:
profileRequestContext- current profile request context- Returns:
- maximum number of times an assertion may be proxied
-
getAuthnContextComparison
@ConfigurationSetting(name="authnContextComparison") @Nullable AuthnContextComparisonTypeEnumeration getAuthnContextComparison(@Nullable ProfileRequestContext profileRequestContext) Get the comparison operator to use when issuing SAML requests containing requested context classes.The actual context(s) requested is left to IdP- and SP-specific interfaces because of the differences in representation.
- Parameters:
profileRequestContext- profile request context- Returns:
- comparison value or null
-
getSPNameQualifier
@ConfigurationSetting(name="sPNameQualifier") @Nullable String getSPNameQualifier(@Nullable ProfileRequestContext profileRequestContext) Get the SPNameQualifier to include in the SAML request.- Parameters:
profileRequestContext- current profile request context- Returns:
- requested SPNameQualifier
-
getAttributeIndex
@ConfigurationSetting(name="attributeIndex") @Nullable Integer getAttributeIndex(@Nullable ProfileRequestContext profileRequestContext) Get the AttributeConsumingServiceIndex to include in the SAML request.- Parameters:
profileRequestContext- current profile request context- Returns:
- the AttributeConsumingServiceIndex
-
getRequestedAttributes
@ConfigurationSetting(name="requestedAttributes") @Nonnull @Unmodifiable @NotLive Collection<RequestedAttribute> getRequestedAttributes(@Nullable ProfileRequestContext profileRequestContext) Get the list ofRequestedAttributeobjects to include in the SAML request (via extension).- Parameters:
profileRequestContext- current profile request context- Returns:
- the requested attributes
-