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 java.lang.Object implements org.springframework.beans.factory.BeanNameAwareSimple 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.java.lang.StringgetAccessType()Return the access control check type.java.lang.StringgetName()Return the access control name.voidsetAccessType(java.lang.String accessType)Set the the access control check type.voidsetBeanName(java.lang.String name)abstract org.alfresco.jlan.server.auth.acl.AccessControltoAccessControl()Converts this object to a JLAN access control
-
-
-
Method Detail
-
setBeanName
public void setBeanName(java.lang.String name)
- Specified by:
setBeanNamein interfaceorg.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.ACLParseExceptionSet 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
-
-