Class SAMLBindingContextBindingFunction
java.lang.Object
org.opensaml.saml.common.messaging.context.navigate.SAMLBindingContextBindingFunction
- All Implemented Interfaces:
Function<SAMLBindingContext,
,String> ContextDataLookupFunction<SAMLBindingContext,
String>
public class SAMLBindingContextBindingFunction
extends Object
implements ContextDataLookupFunction<SAMLBindingContext,String>
ContextDataLookupFunction
that returns the SAML binding from a SAMLBindingContext
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
Whether to extract the "short" name for the binding, if possible. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(SAMLBindingContext input) void
setUseShortName
(boolean flag) Set whether to extract the short name for binding, if available.
-
Field Details
-
useShortName
private boolean useShortNameWhether to extract the "short" name for the binding, if possible.
-
-
Constructor Details
-
SAMLBindingContextBindingFunction
public SAMLBindingContextBindingFunction()
-
-
Method Details
-
setUseShortName
public void setUseShortName(boolean flag) Set whether to extract the short name for binding, if available.- Parameters:
flag
- flag to set
-
apply
- Specified by:
apply
in interfaceFunction<SAMLBindingContext,
String>
-