public class ByUserRequestorInfo extends Object implements org.xipki.ca.server.mgmt.api.RequestorInfo
| Constructor and Description |
|---|
ByUserRequestorInfo(org.xipki.ca.api.NameId ident,
org.xipki.ca.server.mgmt.api.CaHasUserEntry caHasUser) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertCertprofilePermitted(String certprofile) |
void |
assertPermitted(int permission) |
org.xipki.ca.server.mgmt.api.CaHasUserEntry |
getCaHasUser() |
org.xipki.ca.api.NameId |
getIdent() |
int |
getUserId() |
boolean |
isCertprofilePermitted(String certprofile) |
boolean |
isPermitted(int permission) |
boolean |
isRa() |
public ByUserRequestorInfo(org.xipki.ca.api.NameId ident,
org.xipki.ca.server.mgmt.api.CaHasUserEntry caHasUser)
public org.xipki.ca.api.NameId getIdent()
getIdent in interface org.xipki.ca.server.mgmt.api.RequestorInfopublic boolean isRa()
isRa in interface org.xipki.ca.server.mgmt.api.RequestorInfopublic int getUserId()
public org.xipki.ca.server.mgmt.api.CaHasUserEntry getCaHasUser()
public boolean isCertprofilePermitted(String certprofile)
isCertprofilePermitted in interface org.xipki.ca.server.mgmt.api.RequestorInfopublic boolean isPermitted(int permission)
isPermitted in interface org.xipki.ca.server.mgmt.api.RequestorInfopublic void assertCertprofilePermitted(String certprofile) throws org.xipki.ca.api.InsuffientPermissionException
assertCertprofilePermitted in interface org.xipki.ca.server.mgmt.api.RequestorInfoorg.xipki.ca.api.InsuffientPermissionExceptionpublic void assertPermitted(int permission)
throws org.xipki.ca.api.InsuffientPermissionException
assertPermitted in interface org.xipki.ca.server.mgmt.api.RequestorInfoorg.xipki.ca.api.InsuffientPermissionExceptionCopyright © 2018. All rights reserved.