Search code examples
javawebspherejaas

Custom Realm on WebSphere Application Server 8.5.5


I'd like to know how I can develop my own Realm on WAS 8.5.5.

I found that I should implement javax.security.auth.spi.LoginModule. But I don't know how to register this module on the server and use it on my web application.


Solution

  • Login modules are used rather, when you want to extend/customize provided login mechanisms (file, ldap). If you need completely new mechanism I'd rather suggest creating custom user registry, creating adapter for federated registry, or using bridge.

    See following for more details: