Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jaspic-dev] AuthConfigFactory - registerServerAuthModule - Override or Replacement

Hello,

I just wanted to ask for some clarification regarding the expectations in the following scenario.

Assuming the registerServerAuthModule is going to be called with a specific context Object in the future that resolves to a specific layer and appContext.

First a call is made to registerConfigProvider using the same layer and appContext.

Subsequently there is a call to registerServerAuthModule and later a call to removeServerAuthModule using the context which resolves to the same values as used for registerConfigProvider.

What is the expected state at this point?

Did the call to registerConfigProvider completely replace the prior registration so now the end result is no registration remains for that specific layer / appContext combination?

Or was the registerServerAuthModule override temporary and now that it has been removed the initial registered config provider will now be visible?

--

Darran Lofthouse

Red Hat

darran.lofthouse@xxxxxxxxx   


Back to the top