public class SAMLBindingContextBindingFunction extends Object implements ContextDataLookupFunction<SAMLBindingContext,String>
ContextDataLookupFunction
that returns the SAML binding from a SAMLBindingContext
.Modifier and Type | Field and Description |
---|---|
private boolean |
useShortName
Whether to extract the "short" name for the binding, if possible.
|
Constructor and Description |
---|
SAMLBindingContextBindingFunction() |
Modifier and Type | Method and Description |
---|---|
String |
apply(SAMLBindingContext input) |
void |
setUseShortName(boolean flag)
Set whether to extract the short name for binding, if available.
|
private boolean useShortName
public void setUseShortName(boolean flag)
flag
- flag to set@Nullable public String apply(@Nullable SAMLBindingContext input)
apply
in interface com.google.common.base.Function<SAMLBindingContext,String>
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.