Package org.apache.wiki.auth.login
Class AuthorizerCallback
java.lang.Object
org.apache.wiki.auth.login.AuthorizerCallback
- All Implemented Interfaces:
Callback
public class AuthorizerCallback extends Object implements Callback
Callback for requesting and supplying an Authorizer required by a
LoginModule. This Callback is used by LoginModules needing access to the
external authorizer or group manager.
- Since:
- 2.3
-
Constructor Summary
Constructors Constructor Description AuthorizerCallback() -
Method Summary
Modifier and Type Method Description AuthorizergetAuthorizer()Returns the authorizer.voidsetAuthorizer(Authorizer authorizer)Sets the authorizer object.
-
Constructor Details
-
AuthorizerCallback
public AuthorizerCallback()
-
-
Method Details
-
setAuthorizer
Sets the authorizer object. CallbackHandler objects call this method.- Parameters:
authorizer- the authorizer
-
getAuthorizer
Returns the authorizer. LoginModules call this method after a CallbackHandler sets the authorizer.- Returns:
- the authorizer
-