com.arsdigita.kernel.security
Class LifetimeCallback

java.lang.Object
  extended bycom.arsdigita.kernel.security.LifetimeCallback
All Implemented Interfaces:
javax.security.auth.callback.Callback

public class LifetimeCallback
extends Object
implements javax.security.auth.callback.Callback

Callback to determine whether the current login should last "forever" or just until the end of the current session.

Author:
Sameer Ajmani

Field Summary
static String versionId
           
 
Constructor Summary
LifetimeCallback()
           
 
Method Summary
 boolean isForever()
          Return true if the current login should last "forever", false otherwise.
 void setForever(boolean forever)
          Sets "forever" to the given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

LifetimeCallback

public LifetimeCallback()
Method Detail

isForever

public boolean isForever()
Return true if the current login should last "forever", false otherwise.

Returns:
true if the current login should last "forever", false otherwise.

setForever

public void setForever(boolean forever)
Sets "forever" to the given value.

Parameters:
forever - true if the current login should last "forever", false otherwise.


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC