xmlBlaster 2.2.0 API

org.xmlBlaster.authentication.plugins.demo
Class Subject

java.lang.Object
  extended by org.xmlBlaster.authentication.plugins.demo.Subject
All Implemented Interfaces:
I_Subject

public class Subject
extends java.lang.Object
implements I_Subject


Field Summary
private  PluginGUI gui
           
private  java.lang.String name
           
 
Constructor Summary
Subject(PluginGUI gui)
           
Subject(PluginGUI gui, java.lang.String userId)
           
 
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
 

Field Detail

name

private java.lang.String name

gui

private PluginGUI gui
Constructor Detail

Subject

public Subject(PluginGUI gui)

Subject

public Subject(PluginGUI gui,
               java.lang.String userId)
Method Detail

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.

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.