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