class SecurityRoleHelper {

    public void validateAndTrimSecurityRoleKey(SecurityRoleKey securityRoleKey)
    {
        Assert.notNull(securityRoleKey, "A security role key must be specified.");
        securityRoleKey.setSecurityRoleName(alternateKeyHelper.validateStringParameter("security role name", securityRoleKey.getSecurityRoleName()));
    }

}