Package com.walkfares.odsl.security
Class Policy
java.lang.Object
com.walkfares.odsl.var.BaseVar
com.walkfares.odsl.security.Policy
- All Implemented Interfaces:
Var
public class Policy extends BaseVar
-
Constructor Summary
Constructors Constructor Description Policy()
-
Method Summary
Modifier and Type Method Description Var
_clone()
Policy
addAction(PolicyAction action)
Policy
addActions(PolicyAction... actions)
Policy
addMember(String name)
List<PolicyAction>
getActions()
String
getCondition()
String
getDescription()
String
getId()
List<String>
getMembers()
String
getService()
String
getSource()
VarType
getType()
boolean
hasAction(PolicyAction action)
boolean
isDeny()
boolean
isEnabled()
Policy
removeMember(String name)
Policy
set_Id(String id)
Policy
setCondition(String condition)
Policy
setDeny(boolean deny)
Policy
setDescription(String description)
Policy
setEnabled(boolean enabled)
Policy
setFullAccess()
Policy
setService(String service)
Policy
setSource(String source)
Methods inherited from class com.walkfares.odsl.var.BaseVar
add, applyChanges, getLinks, getTypeName, getUID, setLinks, toString, tryConvert
-
Constructor Details
-
Policy
public Policy()
-
-
Method Details
-
getType
-
getId
-
set_Id
-
_clone
-
getDescription
-
setDescription
-
getService
-
setService
-
getSource
-
setSource
-
getCondition
-
setCondition
-
isDeny
public boolean isDeny() -
setDeny
-
getActions
-
hasAction
-
addAction
-
addActions
-
setFullAccess
-
getMembers
-
addMember
-
removeMember
-
isEnabled
public boolean isEnabled() -
setEnabled
-