Class CustomAuthorizeCallback
java.lang.Object
es.gob.jmulticard.callback.CustomAuthorizeCallback
- All Implemented Interfaces:
Callback
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if the identity represented by authentication ID is allowed to act on behalf of the authorization ID.voidsetAuthorized(boolean auth) Sets if authorization is allowed or not.
-
Field Details
-
authorized
private boolean authorized
-
-
Constructor Details
-
CustomAuthorizeCallback
public CustomAuthorizeCallback()
-
-
Method Details
-
isAuthorized
public boolean isAuthorized()Determines if the identity represented by authentication ID is allowed to act on behalf of the authorization ID. *- Returns:
trueif authorization is allowed;falseotherwise.- See Also:
-
setAuthorized
public void setAuthorized(boolean auth) Sets if authorization is allowed or not.- Parameters:
auth-trueif authorization is allowed;falseotherwise.- See Also:
-