Changeset 208 for ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/ComponentRegistryImpl.java
- Timestamp:
- 03/03/10 13:19:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/ComponentRegistryImpl.java
r207 r208 330 330 private void checkAuthorisation(AbstractDescription desc, Principal principal) throws UserUnauthorizedException { 331 331 if (!principal.getName().equals(desc.getCreatorName())) { 332 throw new UserUnauthorizedException("Unauthorized operation user :" + principal.getName()333 + " was not the creator of profile/component (description=" + desc + ").");332 throw new UserUnauthorizedException("Unauthorized operation user '" + principal.getName() 333 + "' was not the creator of profile/component (description=" + desc + ")."); 334 334 } 335 335 }
Note: See TracChangeset
for help on using the changeset viewer.