Class AuthorizationCheckResultDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.authorization.AuthorizationCheckResultDto
-
public class AuthorizationCheckResultDto extends java.lang.Object
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Boolean
isAuthorized
protected java.lang.String
permissionName
protected java.lang.String
resourceId
protected java.lang.String
resourceName
-
Constructor Summary
Constructors Constructor Description AuthorizationCheckResultDto()
AuthorizationCheckResultDto(boolean userAuthorized, java.lang.String permissionName, ResourceUtil resource, java.lang.String resourceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPermissionName()
java.lang.String
getResourceId()
java.lang.String
getResourceName()
java.lang.Boolean
isAuthorized()
void
setAuthorized(java.lang.Boolean isAuthorized)
void
setPermissionName(java.lang.String permissionName)
void
setResourceId(java.lang.String resourceId)
void
setResourceName(java.lang.String resourceName)
-
-
-
Constructor Detail
-
AuthorizationCheckResultDto
public AuthorizationCheckResultDto()
-
AuthorizationCheckResultDto
public AuthorizationCheckResultDto(boolean userAuthorized, java.lang.String permissionName, ResourceUtil resource, java.lang.String resourceId)
-
-
Method Detail
-
getPermissionName
public java.lang.String getPermissionName()
-
setPermissionName
public void setPermissionName(java.lang.String permissionName)
-
isAuthorized
public java.lang.Boolean isAuthorized()
-
setAuthorized
public void setAuthorized(java.lang.Boolean isAuthorized)
-
getResourceName
public java.lang.String getResourceName()
-
setResourceName
public void setResourceName(java.lang.String resourceName)
-
getResourceId
public java.lang.String getResourceId()
-
setResourceId
public void setResourceId(java.lang.String resourceId)
-
-