|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.jportlet.service.PortletServiceAdapter | +--net.sf.jportlet.service.login.LoginServiceImpl
Implementation of LoginService
Field Summary |
Fields inherited from class net.sf.jportlet.service.PortletServiceAdapter |
_log, _serviceConfig, _serviceContext |
Fields inherited from interface net.sf.jportlet.service.login.LoginService |
NAME, PASSWORD, USER_ID |
Constructor Summary | |
LoginServiceImpl()
|
Method Summary | |
java.lang.String |
getServiceName()
Returns the name of the service |
boolean |
login(net.sf.jportlet.portlet.PortletRequest request)
Authenticate a user. |
void |
logout(net.sf.jportlet.portlet.PortletRequest request)
Logs the current user out of the portal. |
Methods inherited from class net.sf.jportlet.service.PortletServiceAdapter |
destroy, getInitParameter, getInitParameter, getServiceConfig, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jportlet.service.PortletService |
destroy, getServiceConfig, init |
Constructor Detail |
public LoginServiceImpl()
Method Detail |
public boolean login(net.sf.jportlet.portlet.PortletRequest request) throws PortletException
LoginService
LoginService.USER_ID
: the ID of the user
LoginService.PASSWORD
: The user's password.
net.sf.jportlet.portlet.Portlet#login()
login
in interface LoginService
request
-
true
if the user is logged in
PortletException
LoginService.login(net.sf.jportlet.portlet.PortletRequest)
public void logout(net.sf.jportlet.portlet.PortletRequest request) throws PortletException
LoginService
logout
in interface LoginService
request
-
PortletException
- if any error occursLoginService.logout(net.sf.jportlet.portlet.PortletRequest)
public java.lang.String getServiceName()
PortletService
getServiceName
in interface PortletService
PortletService.getServiceName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |