Revision 888
Added by berkley over 22 years ago
AuthSession.java | ||
---|---|---|
68 | 68 |
try { |
69 | 69 |
if ( authService.authenticate(username, password) ) { |
70 | 70 |
String[] groups = authService.getGroups(username,password,username); |
71 |
if(groups == null) |
|
72 |
{ |
|
73 |
groups = new String[0]; |
|
74 |
} |
|
71 | 75 |
this.session = getSession(request, username, password, groups); |
72 | 76 |
message = "Authentication successful for user: " + username; |
73 | 77 |
this.statusMessage = formatOutput("login", message); |
Also available in: Unified diff
updated the referral mechanism so that metacat doesn't crash when a referral server is not available