org.apache.lenya.ac.impl
Class RemovedAccreditablePolicyBuilder

java.lang.Object
  extended by org.apache.lenya.ac.impl.PolicyBuilder
      extended by org.apache.lenya.ac.impl.RemovedAccreditablePolicyBuilder
All Implemented Interfaces:
org.apache.lenya.ac.cache.InputStreamBuilder

public class RemovedAccreditablePolicyBuilder
extends PolicyBuilder

A PolicyBuilder which can be used after an accreditable was removed.


Field Summary
 
Fields inherited from class org.apache.lenya.ac.impl.PolicyBuilder
GROUP_ELEMENT, ID_ATTRIBUTE, IP_RANGE_ELEMENT, METHOD_ATTRIBUTE, POLICY_ELEMENT, ROLE_ELEMENT, SSL_ATTRIBUTE, USER_ELEMENT, WORLD_ELEMENT
 
Constructor Summary
RemovedAccreditablePolicyBuilder(org.apache.lenya.ac.AccreditableManager accreditableManager)
          Ctor.
 
Method Summary
protected  org.apache.lenya.ac.Accreditable getAccreditable(java.lang.String elementName, java.lang.String id)
          Creates an accredtiable for an element.
 void setRemovedAccreditable(org.apache.lenya.ac.Accreditable accreditable)
          Sets the removed accreditable.
 
Methods inherited from class org.apache.lenya.ac.impl.PolicyBuilder
build, buildPolicy, buildPolicy, getAccreditableManager, save, savePolicy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemovedAccreditablePolicyBuilder

public RemovedAccreditablePolicyBuilder(org.apache.lenya.ac.AccreditableManager accreditableManager)
Ctor.

Parameters:
accreditableManager - The accreditable manager.
Method Detail

setRemovedAccreditable

public void setRemovedAccreditable(org.apache.lenya.ac.Accreditable accreditable)
Sets the removed accreditable.

Parameters:
accreditable - An accreditable.

getAccreditable

protected org.apache.lenya.ac.Accreditable getAccreditable(java.lang.String elementName,
                                                           java.lang.String id)
                                                    throws org.apache.lenya.ac.AccessControlException
Description copied from class: PolicyBuilder
Creates an accredtiable for an element.

Overrides:
getAccreditable in class PolicyBuilder
Parameters:
elementName - The elment name.
id - The ID of the accreditable.
Returns:
An accreditable.
Throws:
org.apache.lenya.ac.AccessControlException - when something went wrong.
See Also:
PolicyBuilder.getAccreditable(java.lang.String, java.lang.String)


Copyright $ Apache Software Foundation. All Rights Reserved.