Class ECPOptionsContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.sp.saml.saml2.context.ECPOptionsContext
- All Implemented Interfaces:
Iterable<BaseContext>
Tracks SAML ECP profile options.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator, BaseContext.DeprecatedContextClassNameLookAside -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanIndicates the client supports channel bindings.private booleanIndicates the client supports delegation.private booleanIndicates the client supports holder of key confirmation.private booleanIndicates the client wants the SP to sign the reqyuest. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks for the existance of the channel-binding option in the client's request, indicating support for the feature.booleanChecks for the existence of the delegation option in the client's request.booleanChecks for the existance of the holder-of-key option in the client's request.booleanChecks for the existence of the WantAuthnRequestsSigned option in the client's request.setChannelBinding(boolean flag) Sets the status of the channel-binding option in the client's request.setDelegation(boolean flag) Sets the status of the delegation option in the client's request.setHolderOfKey(boolean flag) Sets the status of the holder-of-key option in the client's request.setWantAuthnRequestsSigned(boolean flag) Sets the status of the WantAuthnRequestsSigned option in the client's request.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, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
wantAuthnRequestSigned
private boolean wantAuthnRequestSignedIndicates the client wants the SP to sign the reqyuest. -
channelBinding
private boolean channelBindingIndicates the client supports channel bindings. -
holderOfKey
private boolean holderOfKeyIndicates the client supports holder of key confirmation. -
delegation
private boolean delegationIndicates the client supports delegation.
-
-
Constructor Details
-
ECPOptionsContext
public ECPOptionsContext()
-
-
Method Details
-
isWantAuthnRequestsSigned
public boolean isWantAuthnRequestsSigned()Checks for the existence of the WantAuthnRequestsSigned option in the client's request.- Returns:
- true iff the option was set
-
setWantAuthnRequestsSigned
Sets the status of the WantAuthnRequestsSigned option in the client's request.- Parameters:
flag- flag to set- Returns:
- this context
-
isChannelBinding
public boolean isChannelBinding()Checks for the existance of the channel-binding option in the client's request, indicating support for the feature.- Returns:
- true iff the option was set
-
setChannelBinding
Sets the status of the channel-binding option in the client's request.- Parameters:
flag- flag to set- Returns:
- this context
-
isHolderOfKey
public boolean isHolderOfKey()Checks for the existance of the holder-of-key option in the client's request.- Returns:
- true iff the option was set
-
setHolderOfKey
Sets the status of the holder-of-key option in the client's request.- Parameters:
flag- flag to set- Returns:
- this context
-
isDelegation
public boolean isDelegation()Checks for the existence of the delegation option in the client's request.- Returns:
- true iff the option was set
-
setDelegation
Sets the status of the delegation option in the client's request.- Parameters:
flag- flag to set- Returns:
- this context
-