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>
ContextDataLookupFunctionthat returns the SAML binding from aSAMLBindingContext.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanuseShortNameWhether 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 Stringapply(SAMLBindingContext input)voidsetUseShortName(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:
applyin interfaceFunction<SAMLBindingContext,String>
-
-