code: public <T> T getAuthenticationAttribute(final String name, final Class<T> clazz)
      {
          final Object attribute = getAuthenticationAttribute(name);
          return getAttributeByType(name, clazz, attribute);
      }
docs: Return authentication attribute with name
  
  @param name Name of authentication attribute
  @param clazz The class of the authentication attribute
  @param <T> The type of the authentication attribute
  @return the named attribute