Class ContextAccessControlList

  • All Implemented Interfaces:
    ContextAccess

    public class ContextAccessControlList
    extends java.lang.Object
    implements ContextAccess
    Version:
    $Rev$ $Date$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<javax.naming.Name> allow  
      private boolean defaultAllow  
      private java.util.List<javax.naming.Name> deny  
    • Constructor Summary

      Constructors 
      Constructor Description
      ContextAccessControlList​(boolean defaultAllow, java.util.List allow, java.util.List deny)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean isAllowed​(javax.naming.Name name)  
      protected boolean isDenied​(javax.naming.Name name)  
      boolean isModifiable​(javax.naming.Name name)  
      private java.util.List<javax.naming.Name> toACL​(java.util.List input)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • defaultAllow

        private final boolean defaultAllow
      • allow

        private final java.util.List<javax.naming.Name> allow
      • deny

        private final java.util.List<javax.naming.Name> deny
    • Constructor Detail

      • ContextAccessControlList

        public ContextAccessControlList​(boolean defaultAllow,
                                        java.util.List allow,
                                        java.util.List deny)
    • Method Detail

      • toACL

        private java.util.List<javax.naming.Name> toACL​(java.util.List input)
      • isModifiable

        public boolean isModifiable​(javax.naming.Name name)
        Specified by:
        isModifiable in interface ContextAccess
      • isAllowed

        protected boolean isAllowed​(javax.naming.Name name)
      • isDenied

        protected boolean isDenied​(javax.naming.Name name)