}
return tokenProvider;
}
public static STSConfiguration getRuntimeSTSConfiguration(){
STSConfigurationProvider configProvider = null;
final ServiceFinder<STSConfigurationProvider> finder =
ServiceFinder.find(STSConfigurationProvider.class);
java.util.Iterator it = finder.iterator();
if(it.hasNext()){
configProvider = (STSConfigurationProvider)it.next();
}
if (configProvider != null){
return configProvider.getSTSConfiguration();
}
return null;
}