com.dtolabs.rundeck.core.authorization
Class NoAuthorization
java.lang.Object
com.dtolabs.rundeck.core.authorization.BaseAuthorization
com.dtolabs.rundeck.core.authorization.NoAuthorization
- All Implemented Interfaces:
- Authorization, LegacyAuthorization
public class NoAuthorization
- extends BaseAuthorization
Provides trivial ALLOW implementation of Authorization
interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoAuthorization
public NoAuthorization(Framework framework,
java.io.File aclBaseDir)
getLogger
protected org.apache.log4j.Logger getLogger()
- Specified by:
getLogger
in class BaseAuthorization
getDescription
protected java.lang.String getDescription()
- Specified by:
getDescription
in class BaseAuthorization
getResultCode
protected Explanation.Code getResultCode()
- Specified by:
getResultCode
in class BaseAuthorization
isAuthorized
protected boolean isAuthorized()
- Specified by:
isAuthorized
in class BaseAuthorization
create
public static Authorization create(Framework framework,
java.io.File aclBasedir)
- Factory method returning an instance implementing the
Authorization
interface.
- Parameters:
framework
- Framework instanceaclBasedir
- Directory where the ACLs reside.
- Returns: