class SecurityFunctionServiceImpl implements SecurityFunctionService {

    void validateAndTrimSecurityFunctionKey(SecurityFunctionKey securityFunctionKey) throws IllegalArgumentException
    {
        Assert.notNull(securityFunctionKey, "A security function key must be specified.");
        securityFunctionKey
            .setSecurityFunctionName(alternateKeyHelper.validateStringParameter("security function name", securityFunctionKey.getSecurityFunctionName()));
    }

}