Class CustomAuthorizeCallback
java.lang.Object
es.gob.jmulticard.callback.CustomAuthorizeCallback
- All Implemented Interfaces:
Callback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if the identity represented by authentication ID is allowed to act on behalf of the authorization IDvoidsetAuthorized(boolean auth) Sets if authorization is allowed or not.
-
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:
-