Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jaspic-dev] AuthConfigFactory - New Method Error Handling

Hello,

Are there any established expectations for error handling on the new "registerServerAuthModule" and "removeServerAuthModule" methods on "AuthConfigFactory"?

Null Parameters
If either the ServerAuthModule or the context is passed in as "null" to either method what outcome is expected?  NullPointerException / Silently ignored / Some other error?

Unsupported Context
As there is no common base type we can use to represent the context Object any Object can be passed in, how should these methods behave if it is an unrecognised context?

remove without register
What should happen if remove is called for a specific context where there was no corresponding registration?

--

Darran Lofthouse

Red Hat

darran.lofthouse@xxxxxxxxx   


Back to the top