to.etc.domui.login
Interface ILoginAuthenticator
public interface ILoginAuthenticator
Checks the user's access and if granted returns a IUser for the credentials
passed. If not correct this returns null. The IUser returned will be cached
in the session.
- Author:
- Frits Jalvingh
Created on Apr 14, 2009
authenticateUser
IUser authenticateUser(java.lang.String userid,
java.lang.String credentials)
throws java.lang.Exception
- Throws:
java.lang.Exception
authenticateByCookie
IUser authenticateByCookie(java.lang.String uid,
long ts,
java.lang.String string)
throws java.lang.Exception
- Throws:
java.lang.Exception
calcCookieHash
java.lang.String calcCookieHash(java.lang.String userid,
long ts)
throws java.lang.Exception
- Throws:
java.lang.Exception