Skip navigation links


com.bea.p13n.controls.login
Interface UserLoginControl

All Superinterfaces
Serializable

@ControlInterface
public interface UserLoginControl
extends Serializable

This control:

It does not register the user

See Also
ProfileWrapper

Method Summary
 ProfileWrapper login(String username, String password, javax.servlet.http.HttpServletRequest request)
          Log this user into the Portal application
 void logout(javax.servlet.http.HttpServletRequest request)
          Log out current user

 

Method Detail

login

ProfileWrapper login(String username,
                     String password,
                     javax.servlet.http.HttpServletRequest request)
                     throws P13nControlException
Log this user into the Portal application
Parameters
username - The user's login name
password - The user's password
request - the HttpServletRequest object
Returns
a ProfileWrapper representing the user's stored information
Throws
P13nControlException - if user cannot be logged in, or if there is an error retrieving user profile.

logout

void logout(javax.servlet.http.HttpServletRequest request)
Log out current user

Skip navigation links


Copyright © 2010, Oracle. All rights reserved.