com.dyuproject.openid.manager
Class HttpSessionUserManager
java.lang.Object
com.dyuproject.openid.manager.HttpSessionUserManager
- All Implemented Interfaces:
- OpenIdUserManager
public class HttpSessionUserManager
- extends Object
- implements OpenIdUserManager
OpenIdUser is persisted in the HttpSession.
- Author:
- David Yu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpSessionUserManager
public HttpSessionUserManager()
init
public void init(Properties properties)
- Specified by:
init
in interface OpenIdUserManager
getUser
public OpenIdUser getUser(HttpServletRequest request)
throws IOException
- Specified by:
getUser
in interface OpenIdUserManager
- Throws:
IOException
invalidate
public boolean invalidate(HttpServletRequest request,
HttpServletResponse response)
throws IOException
- Specified by:
invalidate
in interface OpenIdUserManager
- Throws:
IOException
saveUser
public boolean saveUser(OpenIdUser user,
HttpServletRequest request,
HttpServletResponse response)
throws IOException
- Specified by:
saveUser
in interface OpenIdUserManager
- Throws:
IOException
Copyright © 2013. All Rights Reserved.