Smutty


Smutty.Smutty_Session_Abstract

Class Smutty_Session_Abstract

Smutty_Object
|
+--Smutty_Session_Abstract

public abstract class Smutty_Session_Abstract
extends Smutty_Object

this is the base class that Smutty authentication classes should implement. it just defines one method which is getUser(). this method should try and authenticate a user, and return a Smutty_Session_User object if it succeeds.

/


Method Summary
static Smutty_Session_User

getUser()

this function should do the work of authenticating the user, and if they're valid return a Smutty_Session_User NB! i wanted to make this method abstract so it needs to be implemented, but i read something about not being able to override static methods, though it wasn't certain, but it didn;t work for me.

Method Detail

getUser

public static Smutty_Session_User getUser()

this function should do the work of authenticating the user, and if they're valid return a Smutty_Session_User

NB! i wanted to make this method abstract so it needs to be implemented, but i read something about not being able to override static methods, though it wasn't certain, but it didn;t work for me. hmmm...

Returns:
the current user
Go to code

Smutty