I am having a existing java web application running in apache karaf. It is using custom login module for authentication. I have a task to replace this with Windows Integrated Authentication(WIA/SSO) in such a way that current domain user can access the welcome jsp page without any login prompt.
I have followed karaf documentation to deploy Krb5LoginModule to achieve this have verified using jaas-realm:list command. Following is my jaas login module:
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.0.0"
xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0">
<!-- Bean to allow the $[karaf.base] property to be correctly resolved -->
<ext:property-placeholder placeholder-prefix="$[" placeholder-suffix="]"/>
<jaas:config name="WIA" rank="1">
<jaas:module className="org.apache.karaf.jaas.modules.krb5.Krb5LoginModule" flags="sufficient">
refreshKrb5Config = true
password-stacking = storePass
doNotPrompt = false
useTicketCache = true
</jaas:module>
</jaas:config>
</blueprint>
Now I am stuck with web.xml configurations for this because I could not find anything on this over the karaf documentation or any example over internet. Can anybody guide me over it?