| 
DLESE Tools  v1.6.0  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.schemedit.security.login.BasicLogin
public abstract class BasicLogin
Superclass for all the com.myjaas.auth.* authorisation modules. Provides utility methods for reading the module's configuration options and a default implementation of initialize() that fetches the value of a boolean option called 'debug'.
| Field Summary | |
|---|---|
protected  CallbackHandler | 
callbackHandler
 | 
protected  boolean | 
debug
 | 
protected  Map | 
options
 | 
protected  Map | 
sharedState
 | 
protected  Subject | 
subject
 | 
| Constructor Summary | |
|---|---|
BasicLogin()
 | 
|
| Method Summary | |
|---|---|
protected  boolean | 
getOption(String name,
          boolean dflt)
Get a boolean option from the module's options.  | 
protected  int | 
getOption(String name,
          int dflt)
Get a numeric option from the module's options.  | 
protected  String | 
getOption(String name,
          String dflt)
Get a String option from the module's options.  | 
 void | 
initialize(Subject subject,
           CallbackHandler callbackHandler,
           Map sharedState,
           Map options)
Module initialization.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface javax.security.auth.spi.LoginModule | 
|---|
abort, commit, login, logout | 
| Field Detail | 
|---|
protected Subject subject
protected CallbackHandler callbackHandler
protected Map sharedState
protected Map options
protected boolean debug
| Constructor Detail | 
|---|
public BasicLogin()
| Method Detail | 
|---|
public void initialize(Subject subject,
                       CallbackHandler callbackHandler,
                       Map sharedState,
                       Map options)
initialize in interface LoginModule
protected boolean getOption(String name,
                            boolean dflt)
name - Name of the optiondflt - Default value for the option
protected int getOption(String name,
                        int dflt)
name - Name of the optiondflt - Default value for the option
protected String getOption(String name,
                           String dflt)
name - Name of the optiondflt - Default value for the option
  | 
DLESE Tools  v1.6.0  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||