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:
- host - The IP host name where the server is running
- port - The port the server is listening on
- protocol - If present, must be "omi"
This class should not be used directly by client code,
only by the JAAS authentication system.
The OMILoginModule accepts the following options:
| host | The DNS hostname that the
metadata server to authenticate against is running on |
| port | The IP port that the metadata server
is listening on for new connections |
| domain | The authentication domain that this
module is authenticating in. Requests to authenticate users
outside this domain will be ignored. |
| repository | The repository name that will be the
default when the connection is returned. For the primary authentication,
this will normally be the foundation. |
| encrypt | Flag indicating whether the connection to the
server should be encrypted for authentication. The value should be
"true" or "false". |
| aliasdomain | Another 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 |
| debug | Set to "true" to output debug information to
System.out |
- Since:
- 1.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_principals
protected List _principals
_groups
protected List _groups
_credentials
protected List _credentials
_roles
protected List _roles
cxf
protected ConnectionFactoryInterface cxf
cx
protected ConnectionInterface cx
OMILoginModule
public OMILoginModule()
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
Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:29:02