[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [higgins-dev] STS Configuration Question
|
higgins-dev-bounces@xxxxxxxxxxx wrote on 05/21/2007 01:21:05 PM:
> Mike,
>
> Just a couple of questions about STS configuration. We've been
> looking at the new code for the STS and don't quite follow how the
> STS gets initialized and configured. Here is what we see:
>
> 1. SecurityTokenServiceServerBinding.configure() gets called and
> calls configurationHandler.configure(null). This appears to be done
> so that the STS can be obtained via the call
> getSecurityTokenService() which gets the configured STS from a map
> that is created using the key "SecurityTokenService".
>
> 2. ConfigurationHandler.configure() does the setting up of the STS
> by reading the config xml. The following code we're guessing sets up
the STS:
>
> org.eclipse.higgins.configuration.common.MapHandler mapHandler = new
> org.eclipse.higgins.configuration.common.MapHandler();
> mapGlobalSettings = new java.util.Hashtable();
> try
> {
> mapGlobalSettings = (java.util.Map)mapHandler.getSetting
> ("STSConfiguration",
> strConfigurationBase,
> mapSettingHandlers,
> mapGlobalSettings,
> omSetting);
> }
> catch (Exception e)
> {
> log.error(e.getLocalizedMessage());
> throw e;
> }
>
> From here we are interested to know where the SecurityTokenService
> is instantiated and its .configure method called. If you could just
> quickly fill in the gaps for us, it would be very helpful.
Look at how the Singleton and Instance Setting Handlers work - they load
the Factory and create an object - then they call configure on it.
>
> Thanks,
>
> Daniel_______________________________________________
> higgins-dev mailing list
> higgins-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/higgins-dev