org.camunda.bpm.engine.rest.util
Class AuthorizationUtil

java.lang.Object
  extended by org.camunda.bpm.engine.rest.util.AuthorizationUtil
All Implemented Interfaces:
Permission, Resource

public class AuthorizationUtil
extends Object
implements Permission, Resource

Author:
Daniel Meyer

Field Summary
protected  String permissionName
           
protected  int permissionValue
           
protected  String resourceName
           
protected  int resourceType
           
 
Constructor Summary
AuthorizationUtil(String resourceName, int resourceType, String permissionName)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 int getValue()
           
 int hashCode()
           
 String resourceName()
           
 int resourceType()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourceName

protected String resourceName

resourceType

protected int resourceType

permissionName

protected String permissionName

permissionValue

protected int permissionValue
Constructor Detail

AuthorizationUtil

public AuthorizationUtil(String resourceName,
                         int resourceType,
                         String permissionName)
Method Detail

resourceName

public String resourceName()
Specified by:
resourceName in interface Resource

resourceType

public int resourceType()
Specified by:
resourceType in interface Resource

getName

public String getName()
Specified by:
getName in interface Permission

getValue

public int getValue()
Specified by:
getValue in interface Permission

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016 camunda services GmbH. All rights reserved.