Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gov.lanl.Authenticator
Class AuthenticatorImpl  view AuthenticatorImpl download AuthenticatorImpl.java

java.lang.Object
  extended byorg.omg.PortableServer.Servant
      extended bygov.lanl.Authenticate.AuthenticatorPOA
          extended bygov.lanl.Authenticator.AuthenticatorImpl
All Implemented Interfaces:
gov.lanl.Authenticate.AuthenticatorOperations, org.omg.CORBA.portable.InvokeHandler

public class AuthenticatorImpl
extends gov.lanl.Authenticate.AuthenticatorPOA

This implementation provides transient support for checking the authentication for a single user or a list of users. It can either make the decision or defer to a service, such as "SecureID" service; it may also keep a time dependent transient list to support one time sign on via secure cards or time restricted passwords. It expects to see data as GSSUP's InitialContextToken which is: struct InitialContextToken { CSI::UTF8String username; CSI::UTF8String password; CSI::GSS_NT_ExportedName target_name; typedef sequence GSS_NT_ExportedName;

Version:
$Revision: 1.1 $ $Date: 2002/06/23 00:18:45 $

Field Summary
private static org.apache.log4j.Logger cat
           
private  UserListInterface userList
          The local userlist of current users
 
Fields inherited from class gov.lanl.Authenticate.AuthenticatorPOA
 
Fields inherited from class org.omg.PortableServer.Servant
 
Constructor Summary
AuthenticatorImpl()
           
 
Method Summary
 boolean[] areUsersOk(org.omg.GSSUP.InitialContextToken[] userTokenSeq)
          Check to see if the users are or can be authenticated; authenticate each user as necessary.
 boolean isUserOk(org.omg.GSSUP.InitialContextToken userToken)
          Check to see if a user is or can be authenticated; authenticate the user if possible.
 boolean isUserOkFromCredentials()
          Check to see if a user is or can be authenticated; authenticate the user if possible.
 void logoffUser(org.omg.GSSUP.InitialContextToken userToken)
          Logoff the user; i.e.
 void logoffUserFromCredentials()
          Logoff the user; i.e.
 void setUserList(UserListInterface inUserList)
          Sets the local user list to use.
 
Methods inherited from class gov.lanl.Authenticate.AuthenticatorPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

private static org.apache.log4j.Logger cat

userList

private UserListInterface userList
The local userlist of current users

Constructor Detail

AuthenticatorImpl

public AuthenticatorImpl()
Method Detail

isUserOk

public boolean isUserOk(org.omg.GSSUP.InitialContextToken userToken)
Check to see if a user is or can be authenticated; authenticate the user if possible.


isUserOkFromCredentials

public boolean isUserOkFromCredentials()
Check to see if a user is or can be authenticated; authenticate the user if possible. User information to use for authentication is assumed to be in the security credentials of the connection.


areUsersOk

public boolean[] areUsersOk(org.omg.GSSUP.InitialContextToken[] userTokenSeq)
Check to see if the users are or can be authenticated; authenticate each user as necessary.


setUserList

public void setUserList(UserListInterface inUserList)
Sets the local user list to use.


logoffUser

public void logoffUser(org.omg.GSSUP.InitialContextToken userToken)
Logoff the user; i.e. forget that the user had been previously authenticated.


logoffUserFromCredentials

public void logoffUserFromCredentials()
Logoff the user; i.e. forget that the user had been previously authenticated. User information to identify the user to log off is assumed to be in the security credentials of the connection.