public UserProfile validateToken(final String token) {
        return toAuthenticator().validateToken(token);
    }
Validate the token and build the user profile.

@param token the token
@return the user profile
support/cas-server-support-token-authentication/src/main/java/org/apereo/cas/token/authentication/TokenAuthenticationSecurity.java