NIHVIVO-736 transitioning from LoginFormBean to LoginStatusBean.

This commit is contained in:
jeb228 2010-10-13 14:17:50 +00:00
parent 5a2af2f97d
commit 4dbf19c9c0
10 changed files with 24 additions and 38 deletions

View file

@ -53,7 +53,7 @@ public class LoginStatusBean {
/**
* Get the bean from this request, or a dummy bean if the user is not logged
* in.
* in. Never returns null.
*/
public static LoginStatusBean getBean(HttpServletRequest request) {
if (request == null) {
@ -70,7 +70,7 @@ public class LoginStatusBean {
/**
* Get the bean from this session, or a dummy bean if the user is not logged
* in.
* in. Never returns null.
*/
public static LoginStatusBean getBean(HttpSession session) {
if (session == null) {