Added Getter/Setter for IntospectionAuthorityGranter. Still defaults to SimpleIntrospectionAuthorityGranter
parent
1d2f968bd1
commit
90b10d7bad
|
@ -97,7 +97,21 @@ public class IntrospectingTokenService implements ResourceServerTokenServices {
|
||||||
public void setIntrospectionConfigurationService(IntrospectionConfigurationService introspectionUrlProvider) {
|
public void setIntrospectionConfigurationService(IntrospectionConfigurationService introspectionUrlProvider) {
|
||||||
this.introspectionConfigurationService = introspectionUrlProvider;
|
this.introspectionConfigurationService = introspectionUrlProvider;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param introspectionAuthorityGranter the introspectionAuthorityGranter to set
|
||||||
|
*/
|
||||||
|
public void setIntrospectionAuthorityGranter(IntrospectionAuthorityGranter introspectionAuthorityGranter) {
|
||||||
|
this.introspectionAuthorityGranter = introspectionAuthorityGranter;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the introspectionAuthorityGranter
|
||||||
|
*/
|
||||||
|
public IntrospectionAuthorityGranter getIntrospectionAuthorityGranter() {
|
||||||
|
return introspectionAuthorityGranter;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if there is a token and authentication in the cache
|
// Check if there is a token and authentication in the cache
|
||||||
// and check if it is not expired.
|
// and check if it is not expired.
|
||||||
private TokenCacheObject checkCache(String key) {
|
private TokenCacheObject checkCache(String key) {
|
||||||
|
|
Loading…
Reference in New Issue