Package org.alfresco.filesys.config.acl
Class AccessControlBean
java.lang.Object
org.alfresco.filesys.config.acl.AccessControlBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
- Direct Known Subclasses:
DomainAccessControlBean,GidAccessControlBean,IpAddressAccessControlBean,ProtocolAccessControlBean,UidAccessControlBean,UserAccessControlBean
public abstract class AccessControlBean
extends 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intGets the access level as an integer.final StringReturn the access control check type.final StringgetName()Return the access control name.voidsetAccessType(String accessType) Set the the access control check type.voidsetBeanName(String name) abstract org.alfresco.jlan.server.auth.acl.AccessControlConverts this object to a JLAN access control
-
Constructor Details
-
AccessControlBean
public AccessControlBean()
-
-
Method Details
-
setBeanName
- Specified by:
setBeanNamein interfaceorg.springframework.beans.factory.BeanNameAware
-
getName
Return the access control name.- Returns:
- the access control name
-
getAccessType
Return the access control check type.- Returns:
- the access control check type
-
setAccessType
public void setAccessType(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
-