クラス 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部分が再生成。
アクセストークンのフォーマット:[type].[[userOid]-[clientMetaDataId]-[tenantId]-[salt]のSHA512].[token]
リフレッシュ時には、token部分が再生成。
-
フィールドの概要
フィールド -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明org.iplass.mtp.impl.auth.authenticate.token.AuthTokenStoreprotected SerializablecreateDetails(String seriesString, String tokenString, String userUniqueId, String policyName, org.iplass.mtp.auth.token.AuthTokenInfo tokenInfo) voidinited(org.iplass.mtp.impl.auth.authenticate.token.AuthTokenService service, org.iplass.mtp.spi.Config config) newSeriesString(String userUniqueId, String policyName, org.iplass.mtp.auth.token.AuthTokenInfo tokenInfo) voidsetRefreshTokenSecureRandomGeneratorName(String refreshTokenSecureRandomGeneratorName) voidsetRefreshTokenStore(String refreshTokenStore) voidsetRefreshTokenType(String refreshTokenType) org.iplass.mtp.auth.token.AuthTokenInfotoAuthTokenInfo(org.iplass.mtp.impl.auth.authenticate.token.AuthToken authToken) org.iplass.mtp.auth.login.CredentialtoCredential(org.iplass.mtp.impl.auth.authenticate.token.AuthToken newToken) クラスから継承されたメソッド org.iplass.mtp.impl.auth.authenticate.token.AuthTokenHandler
checkTokenValid, destroyed, getHashSettings, getSecureRandomGeneratorName, getService, getStore, getType, isVisible, newAuthToken, newTokenString, setHashSettings, setSecureRandomGeneratorName, setStore, setType, setVisible
-
フィールド詳細
-
TYPE_OAUTH_DEFAULT
- 関連項目:
-
TYPE_OAUTH_REFRESH_DEFAULT
- 関連項目:
-
-
コンストラクタの詳細
-
AccessTokenHandler
public AccessTokenHandler()
-
-
メソッドの詳細
-
refreshTokenHandler
-
getRefreshTokenStore
-
setRefreshTokenStore
-
getRefreshTokenType
-
setRefreshTokenType
-
getRefreshTokenSecureRandomGeneratorName
-
setRefreshTokenSecureRandomGeneratorName
-
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
-