public class RelyingPartyConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
defaultAuthenticationMethod
Authentication method to use if none is specified within a request.
|
private String[] |
nameIdFormatPrecedence
Precedence ordering of NameID formats for this relying party.
|
private HashMap<String,ProfileConfiguration> |
profiles
Various profile configurations.
|
private String |
providerId
Entity ID of the responder when communicating with the relying party.
|
private String |
relyingPartyId
Entity ID of the relying party.
|
private Credential |
signingCredential
Default signing credential.
|
| Constructor and Description |
|---|
RelyingPartyConfiguration(String provider)
Constructor.
|
RelyingPartyConfiguration(String relyingParty,
String provider)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultAuthenticationMethod()
Gets the authentication method to use if one is not specified within a request.
|
Credential |
getDefaultSigningCredential()
Gets the default signing credential for the relying party.
|
String[] |
getNameIdFormatPrecedence()
Gets the precedence of NameID formats for this relying party.
|
ProfileConfiguration |
getProfileConfiguration(String profileId)
Convenience method for retrieving a given profile configuration from the
Map returned by
getProfileConfigurations(). |
Map<String,ProfileConfiguration> |
getProfileConfigurations()
Gets whether assertions should be encrypted.
|
String |
getProviderId()
Gets the entity ID of the responder when communicating with the relying party.
|
String |
getRelyingPartyId()
Gets the entity ID of the relying party this configuration is for.
|
void |
setDefaultAuthenticationMethod(String method)
Sets the authentication method to use if one is not specified within a request.
|
void |
setDefaultSigningCredential(Credential credential)
Sets the default signing credential for the relying party.
|
void |
setNameIdFormatPrecedence(String[] precedence)
Sets the precedence of NameID formats for this relying party.
|
protected void |
setProviderId(String id)
Sets the entity ID of the responder when communicating with the relying party.
|
protected void |
setRelyingPartyId(String id)
Sets the entity ID of the relying party this configuration is for.
|
private String relyingPartyId
private String providerId
private String defaultAuthenticationMethod
private Credential signingCredential
private String[] nameIdFormatPrecedence
private HashMap<String,ProfileConfiguration> profiles
public RelyingPartyConfiguration(String provider)
provider - entity ID of the responder when communicating with the relying partypublic String[] getNameIdFormatPrecedence()
public void setNameIdFormatPrecedence(String[] precedence)
precedence - precedence of NameID formats for this relying partypublic String getRelyingPartyId()
protected void setRelyingPartyId(String id)
id - entity ID of the relying party this configuration is forpublic String getProviderId()
protected void setProviderId(String id)
id - entity ID of the responder when communicating with the relying partypublic String getDefaultAuthenticationMethod()
public void setDefaultAuthenticationMethod(String method)
method - authentication method to use if one is not specified within a requestpublic Credential getDefaultSigningCredential()
public void setDefaultSigningCredential(Credential credential)
credential - default signing credential for the relying partypublic Map<String,ProfileConfiguration> getProfileConfigurations()
public ProfileConfiguration getProfileConfiguration(String profileId)
Map returned by
getProfileConfigurations().profileId - unique Id of the profileCopyright © 1999-2015. All Rights Reserved.