{@link InternalRolePrincipal} interface implementation.
707172737475767778
*/ public void setRolePrincipal(RolePrincipal rolePrincipal) throws SecurityException { String fullPath = rolePrincipal.getFullPath(); InternalRolePrincipal internalRole = new InternalRolePrincipalImpl( fullPath); commonQueries.setInternalRolePrincipal(internalRole, false); }
7576777879808182838485
{ String fullPath = rolePrincipal.getFullPath(); InternalRolePrincipal internalRole = commonQueries.getInternalRolePrincipal(fullPath); if ( null == internalRole ) { internalRole = new InternalRolePrincipalImpl(fullPath); internalRole.setEnabled(rolePrincipal.isEnabled()); commonQueries.setInternalRolePrincipal(internalRole, false); } else if ( !internalRole.isMappingOnly() ) {
7475767778798081828384
7374757677787980818283
6364656667686970
* @see org.apache.jetspeed.security.spi.RoleSecurityHandler#setRolePrincipal(org.apache.jetspeed.security.RolePrincipal) */ public void setRolePrincipal(RolePrincipal rolePrincipal) throws SecurityException { String fullPath = rolePrincipal.getFullPath(); InternalRolePrincipal internalRole = new InternalRolePrincipalImpl(fullPath); commonQueries.setInternalRolePrincipal(internalRole, false); }