NIHVIVO-736 transitioning from LoginFormBean to LoginStatusBean.
This commit is contained in:
parent
5a2af2f97d
commit
4dbf19c9c0
10 changed files with 24 additions and 38 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue