SK.gnome.dwarf.auth
Class AuthId
java.lang.Object
SK.gnome.dwarf.auth.AuthId
- public class AuthId
- extends java.lang.Object
Provides authentication identifier.
This object relates the login and logout operations. An instance of the AuthId
class is returned by the service's login method after the successfull authentication,
and must be used to logout the subject at a later time via its logout method. This
enables multiple authentication of the single subject by various services.
// instantiate the subject
Subject subject = new Subject();
// login the subject
AuthId id = login("MyLoginConfiguration", subject, new BasicCallbackHandler("joe", "public"));
// logout the user "joe"
logout(id, subject);
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthId
public AuthId()
Copyright (c) 1999-2005, Gnome Ltd. All rights reserved.