public class SAMLMDRelyingPartyConfigurationManager extends BaseReloadableService implements RelyingPartyConfigurationManager
RelyingPartyConfiguration
s and if found is returned. If no configuration is registered for the specific
entity ID the entity descriptor for the relying party is located using the MetadataProvider
. The name of
ancestral entities descriptors are then looked up, in ascending order (i.e. the parent entities descriptor, then the
grandparent, great-grandparent, etc.), with the first configuration found being returned. If no configuration is
found once the top of the tree is reached the default configuration is returned.BaseReloadableService.ConfigurationResourceListener
修飾子とタイプ | フィールドと説明 |
---|---|
static String |
ANONYMOUS_RP_NAME
ID used for anonymous relying party.
|
static String |
DEFAULT_RP_NAME
ID used for default relying party.
|
コンストラクタと説明 |
---|
SAMLMDRelyingPartyConfigurationManager()
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
RelyingPartyConfiguration |
getAnonymousRelyingConfiguration()
Gets the relying party configuration to use for anonymous parties.
|
RelyingPartyConfiguration |
getDefaultRelyingPartyConfiguration()
Gets the default relying party configuration.
|
MetadataProvider |
getMetadataProvider()
Gets the metadata provider used to lookup information about entities.
|
RelyingPartyConfiguration |
getRelyingPartyConfiguration(String relyingPartyEntityID)
Gets the configuration for the given relying party.
|
Map<String,RelyingPartyConfiguration> |
getRelyingPartyConfigurations()
Gets the registered relying party configurations indexed by relying party ID.
|
protected void |
onNewContextCreated(org.springframework.context.ApplicationContext newServiceContext)
Called after a new context has been created but before it set as the service's context.
|
void |
setMetadataProvider(MetadataProvider provider)
Sets the metadata provider used to lookup information about entities.
|
destroy, getPollingFrequency, getPollingRetryAttempts, getPollingTimer, initialize, reload, setPollingFrequency, setPollingRetryAttempts, setPollingTimer
getApplicationContext, getId, getReadWriteLock, getServiceConfigurations, getServiceContext, isDestroyed, isInitialized, loadContext, setApplicationContext, setBeanName, setInitialized, setServiceConfigurations, setServiceContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, isDestroyed, isInitialized
public static final String ANONYMOUS_RP_NAME
public SAMLMDRelyingPartyConfigurationManager()
public RelyingPartyConfiguration getAnonymousRelyingConfiguration()
getAnonymousRelyingConfiguration
インタフェース内 RelyingPartyConfigurationManager
public RelyingPartyConfiguration getDefaultRelyingPartyConfiguration()
getDefaultRelyingPartyConfiguration
インタフェース内 RelyingPartyConfigurationManager
public MetadataProvider getMetadataProvider()
public void setMetadataProvider(MetadataProvider provider)
provider
- metadata provider used to lookup information about entitiespublic RelyingPartyConfiguration getRelyingPartyConfiguration(String relyingPartyEntityID)
getRelyingPartyConfiguration
インタフェース内 RelyingPartyConfigurationManager
relyingPartyEntityID
- the entity of the relying part to get the configuration forpublic Map<String,RelyingPartyConfiguration> getRelyingPartyConfigurations()
getRelyingPartyConfigurations
インタフェース内 RelyingPartyConfigurationManager
protected void onNewContextCreated(org.springframework.context.ApplicationContext newServiceContext) throws ServiceException
onNewContextCreated
クラス内 BaseService
newServiceContext
- the newly created context for the serviceServiceException
- thrown if there is a problem with the given service contextCopyright © 2012. All Rights Reserved.