org.tolven.core
Interface ActivationRemote

All Known Implementing Classes:
ActivationBean

public interface ActivationRemote


Method Summary
 TolvenUser findUser(java.lang.String principal)
          Given the principal's name, get the TolvenUser.
 java.util.List<AccountUser> findUserAccounts(TolvenUser user)
          Given the TolvenUser, find a list of all Accounts that that TolvenUser is associated with.
 TolvenUser loginUser(java.lang.String principal, java.util.Date now)
          Find the user object and mark the last update date in the user object.
 

Method Detail

findUser

TolvenUser findUser(java.lang.String principal)
Given the principal's name, get the TolvenUser.


loginUser

TolvenUser loginUser(java.lang.String principal,
                     java.util.Date now)
                     throws java.security.GeneralSecurityException,
                            javax.naming.NamingException
Find the user object and mark the last update date in the user object. Technically, this is really a post-login step since the container has already authenticated the user.

Throws:
java.security.GeneralSecurityException
javax.naming.NamingException

findUserAccounts

java.util.List<AccountUser> findUserAccounts(TolvenUser user)
Given the TolvenUser, find a list of all Accounts that that TolvenUser is associated with.