edu.internet2.middleware.shibboleth.common.relyingparty
Class RelyingPartySecurityPolicyResolver

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.relyingparty.RelyingPartySecurityPolicyResolver
All Implemented Interfaces:
org.opensaml.ws.security.SecurityPolicyResolver, Resolver<org.opensaml.ws.security.SecurityPolicy,org.opensaml.ws.message.MessageContext>

public class RelyingPartySecurityPolicyResolver
extends Object
implements org.opensaml.ws.security.SecurityPolicyResolver

A security policy resolver that selects the active security policy based on the inbound message issuer ID and the communication profile used.


Field Summary
private  RelyingPartyConfigurationManager rpConfigManager
          Relying party configuration manager.
 
Constructor Summary
RelyingPartySecurityPolicyResolver(RelyingPartyConfigurationManager configManager)
          Constructor.
 
Method Summary
 Iterable<org.opensaml.ws.security.SecurityPolicy> resolve(org.opensaml.ws.message.MessageContext messageContext)
          
 org.opensaml.ws.security.SecurityPolicy resolveSingle(org.opensaml.ws.message.MessageContext messageContext)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rpConfigManager

private RelyingPartyConfigurationManager rpConfigManager
Relying party configuration manager.

Constructor Detail

RelyingPartySecurityPolicyResolver

public RelyingPartySecurityPolicyResolver(RelyingPartyConfigurationManager configManager)
Constructor.

Parameters:
configManager - configuration manager used to resolve relying party specific configuration information, may not be null
Method Detail

resolve

public Iterable<org.opensaml.ws.security.SecurityPolicy> resolve(org.opensaml.ws.message.MessageContext messageContext)
                                                          throws SecurityException

Specified by:
resolve in interface Resolver<org.opensaml.ws.security.SecurityPolicy,org.opensaml.ws.message.MessageContext>
Throws:
SecurityException

resolveSingle

public org.opensaml.ws.security.SecurityPolicy resolveSingle(org.opensaml.ws.message.MessageContext messageContext)
                                                      throws SecurityException

Specified by:
resolveSingle in interface Resolver<org.opensaml.ws.security.SecurityPolicy,org.opensaml.ws.message.MessageContext>
Throws:
SecurityException


Copyright © 1999-2012. All Rights Reserved.