|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.security.oauth2.provider.token.JdbcTokenStore
nl.surfnet.coin.api.oauth.OpenConextOauth2JdbcTokenStore
public class OpenConextOauth2JdbcTokenStore
JdbcTokenStore that add the ClientMetaData from Janus if it is not
present. The reason for this subclass is that the original
JdbcTokenStore#getAccessToken does also do a remove and a new insert if the
authentication has changed. We don't have the hook to enhance the
Authentication in this case (as we do with the normal
DefaultTokenServices#createAccessToken where we have a
ClientMetaDataTokenEnhancer that does the lookup of the details in Janus.
| Constructor Summary | |
|---|---|
OpenConextOauth2JdbcTokenStore(DataSource dataSource)
|
|
| Method Summary | |
|---|---|
void |
storeAccessToken(org.springframework.security.oauth2.common.OAuth2AccessToken token,
org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
|
| Methods inherited from class org.springframework.security.oauth2.provider.token.JdbcTokenStore |
|---|
findTokensByClientId, findTokensByUserName, getAccessToken, readAccessToken, readAuthentication, readAuthentication, readAuthenticationForRefreshToken, readAuthenticationForRefreshToken, readRefreshToken, removeAccessToken, removeAccessToken, removeAccessTokenUsingRefreshToken, removeAccessTokenUsingRefreshToken, removeRefreshToken, removeRefreshToken, setAuthenticationKeyGenerator, setDeleteAccessTokenFromRefreshTokenSql, setDeleteAccessTokenSql, setDeleteRefreshTokenSql, setInsertAccessTokenSql, setInsertRefreshTokenSql, setSelectAccessTokenAuthenticationSql, setSelectAccessTokenFromAuthenticationSql, setSelectAccessTokenSql, setSelectRefreshTokenAuthenticationSql, setSelectRefreshTokenSql, storeRefreshToken |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpenConextOauth2JdbcTokenStore(DataSource dataSource)
dataSource - | Method Detail |
|---|
public void storeAccessToken(org.springframework.security.oauth2.common.OAuth2AccessToken token,
org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
storeAccessToken in interface org.springframework.security.oauth2.provider.token.TokenStorestoreAccessToken in class org.springframework.security.oauth2.provider.token.JdbcTokenStore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||