org.globus.gridshib.gt.authorization
Class ShibbolethPDPPolicy

java.lang.Object
  extended by org.globus.gridshib.gt.authorization.ShibbolethPDPPolicy

public class ShibbolethPDPPolicy
extends Object


Constructor Summary
ShibbolethPDPPolicy(org.globus.gridshib.gt.authorization.attributes.policy.AttributeMapping[] _attrs)
           
ShibbolethPDPPolicy(String[] _DNs, org.globus.gridshib.gt.authorization.attributes.policy.AttributeMapping[] _attrs)
           
 
Method Summary
 boolean addAttrMapping(org.globus.gridshib.gt.authorization.attributes.policy.AttributeMapping attr)
           
 boolean addDN(String DN)
          Deprecated.  
 void clearPolicy()
          Delete all entries.
 Iterator getAttrMappings()
           
 org.globus.gridshib.gt.authorization.attributes.policy.AttributeMapping[] getAttrMappingsArray()
           
 boolean removeAttr(org.globus.gridshib.gt.authorization.attributes.policy.AttributeMapping attr)
           
 boolean removeDN(String DN)
          Deprecated.  
 boolean replaceAttrs(org.globus.gridshib.gt.authorization.attributes.policy.AttributeMapping[] _attrs)
           
 boolean replaceDNs(String[] _DNs)
          Deprecated.  
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShibbolethPDPPolicy

public ShibbolethPDPPolicy(org.globus.gridshib.gt.authorization.attributes.policy.AttributeMapping[] _attrs)

ShibbolethPDPPolicy

public ShibbolethPDPPolicy(String[] _DNs,
                           org.globus.gridshib.gt.authorization.attributes.policy.AttributeMapping[] _attrs)
Method Detail

getAttrMappingsArray

public org.globus.gridshib.gt.authorization.attributes.policy.AttributeMapping[] getAttrMappingsArray()

getAttrMappings

public Iterator getAttrMappings()

addDN

public boolean addDN(String DN)
Deprecated. 

Parameters:
DN - The DN to add to policy.
Returns:
true if policy was altered.

removeDN

public boolean removeDN(String DN)
Deprecated. 

Parameters:
DN - The DN to remove from policy.
Returns:
true if policy was altered.

replaceDNs

public boolean replaceDNs(String[] _DNs)
Deprecated. 

Parameters:
_DNs - The DNs to replace the current DN policy
Returns:
true if policy was altered.

addAttrMapping

public boolean addAttrMapping(org.globus.gridshib.gt.authorization.attributes.policy.AttributeMapping attr)
Parameters:
attr - The attribute to add to policy.
Returns:
true if policy was altered.

removeAttr

public boolean removeAttr(org.globus.gridshib.gt.authorization.attributes.policy.AttributeMapping attr)
Parameters:
attr - The attribute to remove from policy.
Returns:
true if policy was altered.

replaceAttrs

public boolean replaceAttrs(org.globus.gridshib.gt.authorization.attributes.policy.AttributeMapping[] _attrs)
Parameters:
_attrs - The attributes to replace the current attribute policy
Returns:
true if policy was altered.

clearPolicy

public void clearPolicy()
Delete all entries.


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2008 University of Illinois. All Rights Reserved.