| Obtains the granted authorities for the specified Authentication object.
May throw any AuthenticationException or return null
if the authorities are unavailable.
Parameters: authentication - the authentication object seeking authorities the details of the indicated user (at minimum the granted authorities and the username) throws: AuthenticationException - if the user details are not available or the authentication is not valid for some reason |