public class CVCAuthorizationTemplate extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CVCAuthorizationTemplate.Permission
The authorization permission.
|
static class |
CVCAuthorizationTemplate.Role
The issuing authority.
|
Modifier | Constructor and Description |
---|---|
|
CVCAuthorizationTemplate(CVCAuthorizationTemplate.Role role,
CVCAuthorizationTemplate.Permission accessRight)
Constructs an authorization template.
|
protected |
CVCAuthorizationTemplate(org.ejbca.cvc.CVCAuthorizationTemplate template)
Constructs an authorization template based on an EJBCA authorization template.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object otherObj)
Checks equality.
|
CVCAuthorizationTemplate.Permission |
getAccessRight()
Gets the access rights.
|
CVCAuthorizationTemplate.Role |
getRole()
Gets the role.
|
int |
hashCode()
Gets a hash code of this object.
|
String |
toString()
Gets a textual representation of this authorization template.
|
protected CVCAuthorizationTemplate(org.ejbca.cvc.CVCAuthorizationTemplate template)
template
- the authZ template to wrappublic CVCAuthorizationTemplate(CVCAuthorizationTemplate.Role role, CVCAuthorizationTemplate.Permission accessRight)
role
- the roleaccessRight
- the access rightspublic CVCAuthorizationTemplate.Role getRole()
public CVCAuthorizationTemplate.Permission getAccessRight()
public String toString()
public boolean equals(Object otherObj)
Copyright © 2016. All rights reserved.