org.xmlBlaster.authentication.plugins.simple
Class Subject
java.lang.Object
org.xmlBlaster.authentication.plugins.simple.Subject
- All Implemented Interfaces:
- I_Subject
public class Subject
- extends java.lang.Object
- implements I_Subject
- Version:
- $Revision: 1.6 $ (State: $State) (Date: $Date: 2006-03-05 00:02:48 +0100 (So, 05 Mär 2006) $)
- Author:
- $Author: laghi $ ($Name: $)
Field Summary |
private static java.util.logging.Logger |
log
|
private java.lang.String |
name
|
Method Summary |
(package private) void |
authenticate(java.lang.String passwd)
Authenticate the user
|
java.lang.String |
getName()
Get the subjects login-name. |
void |
init(java.lang.String userId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static java.util.logging.Logger log
name
private java.lang.String name
Subject
public Subject(Global glob)
Subject
public Subject(Global glob,
java.lang.String userId)
init
public void init(java.lang.String userId)
getName
public java.lang.String getName()
- Description copied from interface:
I_Subject
- Get the subjects login-name.
- Specified by:
getName
in interface I_Subject
- Returns:
- String name
authenticate
void authenticate(java.lang.String passwd)
throws XmlBlasterException
- Authenticate the user
- Parameters:
String
- Password
- Throws:
XmlBlasterException
- Thrown if the user has no valid proof of his identity
Copyright © 1999-2014 The xmlBlaster.org contributers.