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 Constructor Description AccessControlBean()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected intgetAccessLevel()Gets the access level as an integer.StringgetAccessType()Return the access control check type.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.AccessControltoAccessControl()Converts this object to a JLAN access control
-
-
-
Method Detail
-
setBeanName
public void setBeanName(String name)
- Specified by:
setBeanNamein interfaceorg.springframework.beans.factory.BeanNameAware
-
getName
public final String getName()
Return the access control name.- Returns:
- the access control name
-
getAccessType
public final String 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
-
-