Added Getter/Setter for IntospectionAuthorityGranter. Still defaults to SimpleIntrospectionAuthorityGranter

pull/588/merge
Brenden Keyes 2014-04-17 14:55:12 -04:00 committed by Justin Richer
parent 1d2f968bd1
commit 90b10d7bad
1 changed files with 14 additions and 0 deletions

View File

@ -97,7 +97,21 @@ public class IntrospectingTokenService implements ResourceServerTokenServices {
public void setIntrospectionConfigurationService(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
// and check if it is not expired.
private TokenCacheObject checkCache(String key) {