edu.internet2.middleware.shibboleth.common.config.relyingparty
Class RelyingPartyFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean
      extended by edu.internet2.middleware.shibboleth.common.config.relyingparty.RelyingPartyFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class RelyingPartyFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean

Relying party configuration factory bean.


Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
RelyingPartyFactoryBean()
           
 
Method Summary
protected  Object createInstance()
          
 String getDefaultAuthenticationMethod()
          Gets the authentication method to use if one is not specified within a request.
 org.opensaml.xml.security.credential.Credential getDefaultSigningCredential()
          Gets the default signing credential for this relying party.
 List<String> getNameIdFormatPrecedence()
          Gets the precedence of NameID formats for this relying party.
 Class getObjectType()
          
 List<ProfileConfiguration> getProfileConfigurations()
          Gets the registered profile configurations.
 String getProviderId()
          Gets the ID of the provider to use for this relying party.
 String getRelyingPartyId()
          Gets the ID of the relying party.
 void setDefaultAuthenticationMethod(String method)
          Sets the authentication method to use if one is not specified within a request.
 void setDefaultSigningCredential(org.opensaml.xml.security.credential.Credential credential)
          Sets the default signing credential for this relying party.
 void setNameIdFormatPrecedence(List<String> precedence)
          Sets the precedence of NameID formats for this relying party.
 void setProfileConfigurations(List<ProfileConfiguration> configurations)
          Sets the registered profile configurations.
 void setProviderId(String id)
          Sets the ID of the provider to use for this relying party.
 void setRelyingPartyId(String id)
          Sets the ID of the relying party.
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelyingPartyFactoryBean

public RelyingPartyFactoryBean()
Method Detail

getObjectType

public Class getObjectType()

Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean
Specified by:
getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean

getRelyingPartyId

public String getRelyingPartyId()
Gets the ID of the relying party.

Returns:
ID of the provider to use for this relying party

setRelyingPartyId

public void setRelyingPartyId(String id)
Sets the ID of the relying party.

Parameters:
id - ID of the relying party

getProviderId

public String getProviderId()
Gets the ID of the provider to use for this relying party.

Returns:
ID of the provider to use for this relying party

setProviderId

public void setProviderId(String id)
Sets the ID of the provider to use for this relying party.

Parameters:
id - ID of the provider to use for this relying party

getDefaultAuthenticationMethod

public String getDefaultAuthenticationMethod()
Gets the authentication method to use if one is not specified within a request.

Returns:
authentication method to use if one is not specified within a request

setDefaultAuthenticationMethod

public void setDefaultAuthenticationMethod(String method)
Sets the authentication method to use if one is not specified within a request.

Parameters:
method - authentication method to use if one is not specified within a request

getDefaultSigningCredential

public org.opensaml.xml.security.credential.Credential getDefaultSigningCredential()
Gets the default signing credential for this relying party.

Returns:
default signing credential for this relying party

setDefaultSigningCredential

public void setDefaultSigningCredential(org.opensaml.xml.security.credential.Credential credential)
Sets the default signing credential for this relying party.

Parameters:
credential - default signing credential for this relying party

getNameIdFormatPrecedence

public List<String> getNameIdFormatPrecedence()
Gets the precedence of NameID formats for this relying party.

Returns:
precedence of NameID formats for this relying party

setNameIdFormatPrecedence

public void setNameIdFormatPrecedence(List<String> precedence)
Sets the precedence of NameID formats for this relying party.

Parameters:
precedence - precedence of NameID formats for this relying party

getProfileConfigurations

public List<ProfileConfiguration> getProfileConfigurations()
Gets the registered profile configurations.

Returns:
registered profile configurations

setProfileConfigurations

public void setProfileConfigurations(List<ProfileConfiguration> configurations)
Sets the registered profile configurations.

Parameters:
configurations - registered profile configurations

createInstance

protected Object createInstance()
                         throws Exception

Specified by:
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
Throws:
Exception


Copyright © 2006-2011 Internet2. All Rights Reserved.