org.apache.wiki.auth.login
Class WikiEngineCallback

java.lang.Object
  extended by org.apache.wiki.auth.login.WikiEngineCallback
All Implemented Interfaces:
Callback

public class WikiEngineCallback
extends Object
implements Callback

Callback for requesting and supplying the WikiEngine object required by a LoginModule. This Callback is used by LoginModules needing access to the external authorizer or group manager.

Since:
2.5

Constructor Summary
WikiEngineCallback()
           
 
Method Summary
 WikiEngine getEngine()
          Returns the engine.
 void setEngine(WikiEngine engine)
          Sets the engine object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiEngineCallback

public WikiEngineCallback()
Method Detail

setEngine

public void setEngine(WikiEngine engine)
Sets the engine object. CallbackHandler objects call this method.

Parameters:
engine - the engine

getEngine

public WikiEngine getEngine()
Returns the engine. LoginModules call this method after a CallbackHandler sets the engine.

Returns:
the engine


Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.