portal.security.sp.simple
Class SimpleSecurityService

java.lang.Object
  extended byportal.security.sp.simple.SimpleSecurityService
All Implemented Interfaces:
ISecurityService, IService

public class SimpleSecurityService
extends java.lang.Object
implements ISecurityService

This class uses the following registry keys and default values:

Name Type Default Description
portal.security.simple.Username String The username of the simple user
portal.security.sp.simple.Password String The password of the simple user

Author:
Bavo De Ridder

Constructor Summary
SimpleSecurityService()
           
 
Method Summary
 void registerLogin(java.lang.String username)
           
 boolean verify(java.lang.String username, java.lang.String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSecurityService

public SimpleSecurityService()
Method Detail

verify

public boolean verify(java.lang.String username,
                      java.lang.String password)
               throws java.lang.SecurityException
Specified by:
verify in interface ISecurityService
Throws:
java.lang.SecurityException

registerLogin

public void registerLogin(java.lang.String username)
                   throws java.lang.SecurityException
Specified by:
registerLogin in interface ISecurityService
Throws:
java.lang.SecurityException