org.alfresco.filesys.config.acl
Class AccessControlBean

java.lang.Object
  extended by org.alfresco.filesys.config.acl.AccessControlBean
All Implemented Interfaces:
org.springframework.beans.factory.BeanNameAware
Direct Known Subclasses:
DomainAccessControlBean, GidAccessControlBean, IpAddressAccessControlBean, ProtocolAccessControlBean, UidAccessControlBean, UserAccessControlBean

public abstract class AccessControlBean
extends java.lang.Object
implements org.springframework.beans.factory.BeanNameAware

Simple description of a JLAN Access control that can be configured via JMX or a Spring bean definition.


Constructor Summary
AccessControlBean()
           
 
Method Summary
protected  int getAccessLevel()
          Gets the access level as an integer.
 java.lang.String getAccessType()
          Return the access control check type.
 java.lang.String getName()
          Return the access control name.
 void setAccessType(java.lang.String accessType)
          Set the the access control check type.
 void setBeanName(java.lang.String name)
           
abstract  org.alfresco.jlan.server.auth.acl.AccessControl toAccessControl()
          Converts this object to a JLAN access control
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessControlBean

public AccessControlBean()
Method Detail

setBeanName

public void setBeanName(java.lang.String name)
Specified by:
setBeanName in interface org.springframework.beans.factory.BeanNameAware

getName

public final java.lang.String getName()
Return the access control name.

Returns:
the access control name

getAccessType

public final java.lang.String getAccessType()
Return the access control check type.

Returns:
the access control check type

setAccessType

public void setAccessType(java.lang.String accessType)
                   throws org.alfresco.jlan.server.auth.acl.ACLParseException
Set the the access control check type.

Parameters:
accessType - the access type
Throws:
org.alfresco.jlan.server.auth.acl.ACLParseException

toAccessControl

public abstract org.alfresco.jlan.server.auth.acl.AccessControl toAccessControl()
Converts this object to a JLAN access control

Returns:
the access control

getAccessLevel

protected int getAccessLevel()
Gets the access level as an integer.

Returns:
the access level as an integer


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.