|
Spring Security SAML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.security.saml.websso.WebSSOProfileOptions
public class WebSSOProfileOptions
JavaBean contains properties allowing customization of SAML request message sent to the IDP.
Constructor Summary | |
---|---|
WebSSOProfileOptions()
|
|
WebSSOProfileOptions(String binding)
|
Method Summary | |
---|---|
WebSSOProfileOptions |
clone()
Clones the current object. |
Set<String> |
getAllowedIDPs()
|
Integer |
getAssertionConsumerIndex()
|
org.opensaml.saml2.core.AuthnContextComparisonTypeEnumeration |
getAuthnContextComparison()
|
Collection<String> |
getAuthnContexts()
|
String |
getBinding()
|
Boolean |
getForceAuthN()
|
String |
getNameID()
NameID to used or null to omit NameIDPolicy from request. |
Boolean |
getPassive()
Sets whether the IdP should refrain from interacting with the user during the authentication process. |
String |
getProviderName()
Human readable name of the local entity. |
Integer |
getProxyCount()
|
String |
getRelayState()
|
Boolean |
isAllowCreate()
|
Boolean |
isIncludeScoping()
True if scoping element should be included in the requests sent to IDP. |
void |
setAllowCreate(Boolean allowCreate)
Flag indicating whether IDP can create new user based on the current authentication request. |
void |
setAllowedIDPs(Set<String> allowedIDPs)
List of IDPs which are allowed to process the created AuthnRequest. |
void |
setAssertionConsumerIndex(Integer assertionConsumerIndex)
When set determines assertionConsumerService and binding to which should IDP send response. |
void |
setAuthnContextComparison(org.opensaml.saml2.core.AuthnContextComparisonTypeEnumeration authnContextComparison)
Sets comparison to use for WebSSO requests. |
void |
setAuthnContexts(Collection<String> authnContexts)
|
void |
setBinding(String binding)
Sets binding to be used for for sending SAML message to IDP. |
void |
setForceAuthN(Boolean forceAuthN)
|
void |
setIncludeScoping(Boolean includeScoping)
|
void |
setNameID(String nameID)
When set determines which NameIDPolicy will be requested as part of the AuthnRequest sent to the IDP. |
void |
setPassive(Boolean passive)
Sets whether the IdP should refrain from interacting with the user during the authentication process. |
void |
setProviderName(String providerName)
Sets human readable name of the local entity used in ECP profile. |
void |
setProxyCount(Integer proxyCount)
Determines value to be used in the proxyCount attribute of the scope in the AuthnRequest. |
void |
setRelayState(String relayState)
Relay state sent to the IDP as part of the authentication request. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebSSOProfileOptions()
public WebSSOProfileOptions(String binding)
Method Detail |
---|
public String getBinding()
public void setBinding(String binding)
binding
- binding valueSAMLConstants.SAML2_POST_BINDING_URI
,
SAMLConstants.SAML2_REDIRECT_BINDING_URI
,
SAMLConstants.SAML2_PAOS_BINDING_URI
,
SAMLConstants.SAML2_HOK_WEBSSO_PROFILE_URI
public Boolean getPassive()
public void setPassive(Boolean passive)
passive
- true if passive authentication is allowed, false otherwise, null to omit the fieldpublic Boolean getForceAuthN()
public void setForceAuthN(Boolean forceAuthN)
public Boolean isIncludeScoping()
public void setIncludeScoping(Boolean includeScoping)
public Integer getProxyCount()
public void setProxyCount(Integer proxyCount)
Property includeScoping must be enabled for this value to take any effect.
proxyCount
- null to skip proxyCount in the AuthnRequest, 0 to disable proxying, >0 to allow proxyingpublic Collection<String> getAuthnContexts()
public void setAuthnContexts(Collection<String> authnContexts)
public WebSSOProfileOptions clone()
clone
in class Object
public String getNameID()
public void setNameID(String nameID)
nameID
- name IDNameIDType.EMAIL
,
NameIDType.TRANSIENT
,
NameIDType.PERSISTENT
,
NameIDType.X509_SUBJECT
,
NameIDType.KERBEROS
,
NameIDType.UNSPECIFIED
public Boolean isAllowCreate()
public void setAllowCreate(Boolean allowCreate)
allowCreate
- allow createpublic org.opensaml.saml2.core.AuthnContextComparisonTypeEnumeration getAuthnContextComparison()
public void setAuthnContextComparison(org.opensaml.saml2.core.AuthnContextComparisonTypeEnumeration authnContextComparison)
authnContextComparison
- context to setpublic Set<String> getAllowedIDPs()
public void setAllowedIDPs(Set<String> allowedIDPs)
Property includeScoping must be enabled for this value to take any effect.
allowedIDPs
- IDPs enabled to process the created authnRequest, null to skip the attribute from scoptinpublic String getProviderName()
public void setProviderName(String providerName)
providerName
- provider namepublic Integer getAssertionConsumerIndex()
public void setAssertionConsumerIndex(Integer assertionConsumerIndex)
assertionConsumerIndex
- indexpublic String getRelayState()
public void setRelayState(String relayState)
relayState
- relay state
|
Spring Security SAML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |