org.xmlBlaster.authentication.plugins.demo
Class Subject
java.lang.Object
org.xmlBlaster.authentication.plugins.demo.Subject
- All Implemented Interfaces:
- I_Subject
public class Subject
- extends java.lang.Object
- implements I_Subject
Method Summary |
(package private) void |
authenticate(java.lang.String passwd)
Authenticate the user
|
PluginGUI |
getGui()
|
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 |
name
private java.lang.String name
gui
private PluginGUI gui
Subject
public Subject(PluginGUI gui)
Subject
public Subject(PluginGUI gui,
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
getGui
public PluginGUI getGui()
- Returns:
- Returns the gui.
Copyright © 1999-2014 The xmlBlaster.org contributers.