com.dtolabs.rundeck.core.authorization
Class NoAuthorization

java.lang.Object
  extended by com.dtolabs.rundeck.core.authorization.BaseAuthorization
      extended by com.dtolabs.rundeck.core.authorization.NoAuthorization
All Implemented Interfaces:
Authorization, LegacyAuthorization

public class NoAuthorization
extends BaseAuthorization

Provides trivial ALLOW implementation of Authorization interface.


Constructor Summary
NoAuthorization(Framework framework, java.io.File aclBaseDir)
           
 
Method Summary
static Authorization create(Framework framework, java.io.File aclBasedir)
          Factory method returning an instance implementing the Authorization interface.
protected  java.lang.String getDescription()
           
protected  org.apache.log4j.Logger getLogger()
           
protected  Explanation.Code getResultCode()
           
protected  boolean isAuthorized()
           
 
Methods inherited from class com.dtolabs.rundeck.core.authorization.BaseAuthorization
authorizeScript, evaluate, evaluate, getMatchedRoles, listMatchedRoles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoAuthorization

public NoAuthorization(Framework framework,
                       java.io.File aclBaseDir)
Method Detail

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 instance
aclBasedir - Directory where the ACLs reside.
Returns: