- Timestamp:
- 12/01/15 08:20:32 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/branches/ComponentRegistry-2.0/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rest/AuthenticationRestService.java
r6860 r6862 90 90 91 91 final AuthenticationInfo authInfo; 92 if (userPrincipal == null || ComponentRegistryFactory.ANONYMOUS_USER.equals(userPrincipal.getName())) { 92 if (userPrincipal == null) { 93 authInfo = new AuthenticationInfo(false); 94 } else if(ComponentRegistryFactory.ANONYMOUS_USER.equals(userPrincipal.getName())) { 93 95 authInfo = new AuthenticationInfo(false); 94 96 } else {
Note: See TracChangeset
for help on using the changeset viewer.