Revision 5406
Added by berkley over 14 years ago
src/edu/ucsb/nceas/metacat/dataone/CrudService.java | ||
---|---|---|
925 | 925 |
// if the session id is registered in SessionService, get the |
926 | 926 |
// SessionData for it. Otherwise, use the public session. |
927 | 927 |
if (sessionId != null && |
928 |
!sessionId.equals("PUBLIC") &&
|
|
928 |
!sessionId.toLowerCase().equals("public") &&
|
|
929 | 929 |
SessionService.getInstance().isSessionRegistered(sessionId)) |
930 | 930 |
{ |
931 |
System.out.println("looking for registered session"); |
|
931 |
//System.out.println("looking for registered session");
|
|
932 | 932 |
sessionData = SessionService.getInstance().getRegisteredSession(sessionId); |
933 | 933 |
} else { |
934 |
System.out.println("returning public session"); |
|
934 |
//System.out.println("returning public session");
|
|
935 | 935 |
sessionData = SessionService.getInstance().getPublicSession(); |
936 | 936 |
} |
937 | 937 |
|
Also available in: Unified diff
fixed bug with upper case comparison