Hi all,
in order to develop the Windows Integrated Authentication in Magnolia, I 
inserted in Magnolia Chain Filter my personal filter called "spnego" and 
configured in server->filters->spnego before the login filter.
In the java filter associated I put this code :

        SpnegoHttpFilter filter = new SpnegoHttpFilter();
                filter.init(new UniqaFilterConfig()); 
                filter.doFilter(request, response, chain);

            chain.doFilter(request, response);

where SpnegoHttpFilter  is the filter contained in the jar Spnego-r7.jar.
I can inizialize this filter and authenticate my user in the domain but when 
the application passed to do the Magnolia authetication in FormLogin Handler I 
obtained the following error and I can't performe the login :

2014-05-07 15:15:28,446 ERROR info.magnolia.cms.security.SecuritySupportBase    
: Can't login due to: 
javax.security.auth.login.LoginException: No LoginModules configured for 
magnolia
        at javax.security.auth.login.LoginContext.init(Unknown Source)
        at javax.security.auth.login.LoginContext.<init>(Unknown Source)
        at 
info.magnolia.cms.security.SecuritySupportBase.createLoginContext(SecuritySupportBase.java:90)
        at 
info.magnolia.cms.security.SecuritySupportBase.authenticate(SecuritySupportBase.java:62)
        at 
info.magnolia.cms.security.SecuritySupportImpl$$EnhancerByCGLIB$$98f069d5.authenticate(<generated>)
        at 
info.magnolia.cms.security.auth.login.LoginHandlerBase.authenticate(LoginHandlerBase.java:47)
        at 
info.magnolia.module.authentication.FormLogin.handle(FormLogin.java:42)
        at 
info.magnolia.module.authentication.UniqaLoginFilter.doFilter(UniqaLoginFilter.java:51)
        at 
info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91)
        at 
info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83)

My jaas.config is right-configured because if I erase from the chain the spnego 
filter class, the Magnolia Authentication works.
It is possible that I forgot to develop something?

Can someone  help me?

Thank you in advance

Alberto Giovannone

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=be26f4c1-1b80-42bc-8de0-c51be72a9127


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to