クラス AccessTokenHandler

java.lang.Object
org.iplass.mtp.impl.auth.authenticate.token.AuthTokenHandler
org.iplass.mtp.impl.auth.oauth.token.opaque.AccessTokenHandler
すべての実装されたインタフェース:
org.iplass.mtp.spi.ServiceInitListener<org.iplass.mtp.impl.auth.authenticate.token.AuthTokenService>

public class AccessTokenHandler extends org.iplass.mtp.impl.auth.authenticate.token.AuthTokenHandler
OAUthのアクセストークンのAuthTokenHandler。内部にRefreshTokenHandlerを内包する形。
アクセストークンのフォーマット:[type].[[userOid]-[clientMetaDataId]-[tenantId]-[salt]のSHA512].[token]
リフレッシュ時には、token部分が再生成。
  • フィールド詳細

  • コンストラクタの詳細

    • AccessTokenHandler

      public AccessTokenHandler()
  • メソッドの詳細

    • refreshTokenHandler

      public RefreshTokenHandler refreshTokenHandler()
    • getRefreshTokenStore

      public String getRefreshTokenStore()
    • setRefreshTokenStore

      public void setRefreshTokenStore(String refreshTokenStore)
    • getRefreshTokenType

      public String getRefreshTokenType()
    • setRefreshTokenType

      public void setRefreshTokenType(String refreshTokenType)
    • getRefreshTokenSecureRandomGeneratorName

      public String getRefreshTokenSecureRandomGeneratorName()
    • setRefreshTokenSecureRandomGeneratorName

      public void setRefreshTokenSecureRandomGeneratorName(String refreshTokenSecureRandomGeneratorName)
    • inited

      public void inited(org.iplass.mtp.impl.auth.authenticate.token.AuthTokenService service, org.iplass.mtp.spi.Config config)
      定義:
      inited インタフェース内 org.iplass.mtp.spi.ServiceInitListener<org.iplass.mtp.impl.auth.authenticate.token.AuthTokenService>
      オーバーライド:
      inited クラス内 org.iplass.mtp.impl.auth.authenticate.token.AuthTokenHandler
    • authTokenStore

      public org.iplass.mtp.impl.auth.authenticate.token.AuthTokenStore authTokenStore()
      オーバーライド:
      authTokenStore クラス内 org.iplass.mtp.impl.auth.authenticate.token.AuthTokenHandler
    • toAuthTokenInfo

      public org.iplass.mtp.auth.token.AuthTokenInfo toAuthTokenInfo(org.iplass.mtp.impl.auth.authenticate.token.AuthToken authToken)
      定義:
      toAuthTokenInfo クラス内 org.iplass.mtp.impl.auth.authenticate.token.AuthTokenHandler
    • toCredential

      public org.iplass.mtp.auth.login.Credential toCredential(org.iplass.mtp.impl.auth.authenticate.token.AuthToken newToken)
      定義:
      toCredential クラス内 org.iplass.mtp.impl.auth.authenticate.token.AuthTokenHandler
    • createDetails

      protected Serializable createDetails(String seriesString, String tokenString, String userUniqueId, String policyName, org.iplass.mtp.auth.token.AuthTokenInfo tokenInfo)
      定義:
      createDetails クラス内 org.iplass.mtp.impl.auth.authenticate.token.AuthTokenHandler
    • newSeriesString

      public String newSeriesString(String userUniqueId, String policyName, org.iplass.mtp.auth.token.AuthTokenInfo tokenInfo)
      オーバーライド:
      newSeriesString クラス内 org.iplass.mtp.impl.auth.authenticate.token.AuthTokenHandler