Exception throwns by members of the security service.
160161162163164165166167
// rdn+="," + getSearchDomain(); ctx.destroySubcontext(rdn); } catch (NamingException e) { throw new SecurityException(e); } }
230231232233234235236237
return convertPrincipalListToArray(principals); } catch (NamingException e) { throw new SecurityException(e); } }
100101102103104105106107
{ securityAccess.setInternalUserPrincipal(new InternalUserPrincipalImpl(userPrincipal.getFullPath()), false); } else { throw new SecurityException(SecurityException.USER_ALREADY_EXISTS.create(userPrincipal.getName())); } }
120121122123124125126127
securityAccess.setInternalUserPrincipal(internalUser, false); } } else { throw new SecurityException(SecurityException.USER_DOES_NOT_EXIST.create(userPrincipal.getName())); } }
163164165166167168169170
{ KeyedMessage msg = SecurityException.UNEXPECTED.create("SecurityAccess.setInternalUserPrincipal", "store", e.getMessage()); logger.error(msg, e); throw new SecurityException(msg, e); } }
193194195196197198199200
{ KeyedMessage msg = SecurityException.UNEXPECTED.create("SecurityAccess.removeInternalUserPrincipal", "store", e.getMessage()); logger.error(msg, e); throw new SecurityException(msg, e); } }
239240241242243244245246
{ KeyedMessage msg = SecurityException.UNEXPECTED.create("SecurityAccess.setInternalRolePrincipal", "store", e.getMessage()); logger.error(msg, e); throw new SecurityException(msg, e); } }
270271272273274275276277278
{ KeyedMessage msg = SecurityException.UNEXPECTED.create("SecurityAccess.removeInternalRolePrincipal", "store", e.getMessage()); logger.error(msg, e); throw new SecurityException(msg, e); } }
318319320321322323324325
{ KeyedMessage msg = SecurityException.UNEXPECTED.create("SecurityAccess.setInternalGroupPrincipal", "store", e.getMessage()); logger.error(msg, e); throw new SecurityException(msg, e); } }
349350351352353354355356357
{ KeyedMessage msg = SecurityException.UNEXPECTED.create("SecurityAccess.removeInternalGroupPrincipal", "store", e.getMessage()); logger.error(msg, e); throw new SecurityException(msg, e); } }