***  This API provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.security.login
Class OMILoginModule

java.lang.Object
  |
  +--com.sas.services.security.login.OMILoginModule
All Implemented Interfaces:
Direct Known Subclasses:

public class OMILoginModule
extends Object
implements javax.security.auth.spi.LoginModule

This is a JAAS login module for authenticating a user with an OMI server.
The OMILoginModule uses the following options:

This class should not be used directly by client code, only by the JAAS authentication system.

The OMILoginModule accepts the following options:
hostThe DNS hostname that the metadata server to authenticate against is running on
portThe IP port that the metadata server is listening on for new connections
domainThe authentication domain that this module is authenticating in. Requests to authenticate users outside this domain will be ignored.
repositoryThe repository name that will be the default when the connection is returned. For the primary authentication, this will normally be the foundation.
encryptFlag indicating whether the connection to the server should be encrypted for authentication. The value should be "true" or "false".
aliasdomainAnother domain that this module will respond to. This is used when this module is running in a remote JVM and will be receiving generated credentials from an environment using the trusted authentication module
debugSet to "true" to output debug information to System.out

Since:
1.0

Field Summary
protected  List _credentials
           
protected  List _groups
           
protected  List _principals
           
protected  List _roles
           
protected  ConnectionInterface cx
           
protected  ConnectionFactoryInterface cxf
           
 
Constructor Summary
OMILoginModule()
           
 
Method Summary
 boolean abort()
           
 boolean commit()
           
 void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options)
           
 boolean login()
           
 boolean logout()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_principals

protected List _principals

_groups

protected List _groups

_credentials

protected List _credentials

_roles

protected List _roles

cxf

protected ConnectionFactoryInterface cxf

cx

protected ConnectionInterface cx
Constructor Detail

OMILoginModule

public OMILoginModule()
Method Detail

initialize

public void initialize(Subject subject,
                       CallbackHandler callbackHandler,
                       Map sharedState,
                       Map options)
Specified by:
initialize in interface LoginModule

login

public boolean login()
              throws LoginException
Specified by:
login in interface LoginModule

logout

public boolean logout()
               throws LoginException
Specified by:
logout in interface LoginModule

commit

public boolean commit()
               throws LoginException
Specified by:
commit in interface LoginModule

abort

public boolean abort()
              throws LoginException
Specified by:
abort in interface LoginModule

***  This API provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:29:02