Tabnine Logo
DefaultAccessTokenConverter.extractAuthentication
Code IndexAdd Tabnine to your IDE (free)

How to use
extractAuthentication
method
in
org.springframework.security.oauth2.provider.token.DefaultAccessTokenConverter

Best Java code snippets using org.springframework.security.oauth2.provider.token.DefaultAccessTokenConverter.extractAuthentication (Showing top 8 results out of 315)

origin: pl.touk.widerest/widerest-api

  @Override
  public OAuth2Authentication extractAuthentication(Map<String, ?> map) {
    return super.extractAuthentication(map);
  }
}
origin: com.vmware.card-connectors/connectors-config

  @Override
  public OAuth2Authentication extractAuthentication(Map<String, ?> map) {
    Map<String, Object> claims = new HashMap<>();
    claims.putAll(map);
    claims.put(UserAuthenticationConverter.USERNAME, map.get("prn"));
    return super.extractAuthentication(claims);
  }
}
origin: Infosys/openIDP

@Override
public OAuth2Authentication extractAuthentication(Map<String, ?> claims) {
  OAuth2Authentication authentication = super.extractAuthentication(claims);
  authentication.setDetails(claims);
  return authentication;
}
origin: com.okta.spring/okta-spring-security-starter

@Override
public OAuth2Authentication extractAuthentication(Map<String, ?> map) {
  return super.extractAuthentication(tweakScopeMap(map));
}
origin: com.hand.hap.cloud/hap-oauth-utils

  ((Map<String, Object>)map).put("user_name",((Map<String, Object>)map).get("username"));
OAuth2Authentication authentication = super.extractAuthentication(map);
if(map.containsKey("userId")){
  CustomUserDetails user = new CustomUserDetails(authentication.getName(),
origin: io.choerodon/choerodon-starter-core

  ((Map<String, Object>) map).put("user_name", ((Map<String, Object>) map).get("username"));
OAuth2Authentication authentication = super.extractAuthentication(map);
if (map.containsKey(USER_ID)) {
  CustomUserDetails user = new CustomUserDetails(authentication.getName(),
origin: choerodon/choerodon-starters

  ((Map<String, Object>) map).put("user_name", ((Map<String, Object>) map).get("username"));
OAuth2Authentication authentication = super.extractAuthentication(map);
if (map.containsKey(USER_ID)) {
  CustomUserDetails user = new CustomUserDetails(authentication.getName(),
origin: org.hspconsortium.reference/hspc-reference-api-oauth2

@Override
@SuppressWarnings("unchecked")
public OAuth2Authentication extractAuthentication(Map<String, ?> map) {
  Map<String, ?> newMap = (Map<String, ?>) (HspcAccessTokenConverter.convertScopeStringToCollection(map));
  OAuth2Authentication oAuth2Authentication = super.extractAuthentication(newMap);
  HspcOAuth2Authentication hspcOAuth2Authentication = new HspcOAuth2Authentication(oAuth2Authentication.getOAuth2Request(), oAuth2Authentication.getUserAuthentication());
  hspcOAuth2Authentication.setLaunchContextParams(extractLaunchContextParams(map));
  return hspcOAuth2Authentication;
}
org.springframework.security.oauth2.provider.tokenDefaultAccessTokenConverterextractAuthentication

Popular methods of DefaultAccessTokenConverter

  • <init>
  • convertAccessToken
  • setUserTokenConverter
    Converter for the part of the data in the token representing a user.
  • extractAccessToken
  • extractScope
  • getAudience
  • setIncludeGrantType
    Flag to indicate the the grant type should be included in the converted token.

Popular in Java

  • Running tasks concurrently on multiple threads
  • onRequestPermissionsResult (Fragment)
  • onCreateOptionsMenu (Activity)
  • compareTo (BigDecimal)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • JOptionPane (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now