Exception throwns by members of the security service.
475476477478479480481482
{ return (UserPrincipal) user[0]; } else { throw new SecurityException(SecurityException.USER_DOES_NOT_EXIST.create(uid)); } }
493494495496497498499500
{ return (GroupPrincipal) group[0]; } else { throw new SecurityException(SecurityException.GROUP_DOES_NOT_EXIST.create(uid)); } }
513514515516517518519520
{ return (RolePrincipal) role[0]; } else { throw new SecurityException(SecurityException.ROLE_DOES_NOT_EXIST.create(uid)); } }
101102103104105106107108
ctx.modifyAttributes(getGroupDN(groupPrincipalUid,false), operationType, attrs); } catch (NamingException e) { throw new SecurityException(e); } }
133134135136137138139140
ctx.modifyAttributes(getUserDN(userPrincipalUid,false), operationType, attrs); } catch (NamingException e) { throw new SecurityException(e); } }
188189190191192193194195
218219220221222223224225
ctx.modifyAttributes(getRoleDN(rolePrincipalUid,false), operationType, attrs); } catch (NamingException e) { throw new SecurityException(e); } }
313314315316317318319320
341342343344345346347348
ctx.modifyAttributes(getGroupDN(groupPrincipalUid, false), operationType, attrs); } catch (NamingException e) { throw new SecurityException(e); } }
382383384385386387388389
} catch (NamingException e) { throw new SecurityException(e); } }