Authn Failure: No LoginModules configured for JSPWiki-custom

View: New views
2 Messages — Rating Filter:   Alert me  

Authn Failure: No LoginModules configured for JSPWiki-custom

by psterk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


All,

The ProtectionDomain issue turned out to be a false positive. I am now
facing a new problem. This occurs with JSPWiki 2.4.100 on GlassFish
v2u1.  I completed a plain vanilla installation.  I used the Install.jsp
page.  Below are the errors. What did I miss?

Paul

2009-07-23 12:01:24,150 [httpSSLWorkerThread-80-0] ERROR
com.ecyrd.jspwiki.auth.AuthenticationManager
JSPWiki:/appserver/Login.jsp
JSPWiki:http://glassfishwiki1.foundry.sun.com/appserver/Login.jsp -
Couldn't retrieve login configuration.
Message=No LoginModules configured for JSPWiki-custom

2009-07-23 12:01:24,151 [httpSSLWorkerThread-80-0] ERROR
com.ecyrd.jspwiki.auth.AuthenticationManager
JSPWiki:/appserver/Login.jsp
JSPWiki:http://glassfishwiki1.foundry.sun.com/appserver/Login.jsp - No
login context.  Please double-check that JSPWiki found your
'jspwiki.jaas' file or the contents have been appended to your regular
JAAS file.

2009-07-23 12:01:24,151 [httpSSLWorkerThread-80-0] INFO JSPWiki
JSPWiki:/appserver/Login.jsp
JSPWiki:http://glassfishwiki1.foundry.sun.com/appserver/Login.jsp -
Failed to authenticate user admin


Re: Authn Failure: No LoginModules configured for JSPWiki-custom

by psterk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I think have found the answer to this.  For GlassFish JAAS authn to
work, the JSPWiki JAAS entries must be appended to
domains/domain1/config/login.conf.  Otherwise, these JAAS entries are
not 'visible' to the GF app server.  This is preliminary and I am doing
further testing.

Paul

>
> All,
>
> The ProtectionDomain issue turned out to be a false positive. I am now
> facing a new problem. This occurs with JSPWiki 2.4.100 on GlassFish
> v2u1.  I completed a plain vanilla installation.  I used the
> Install.jsp page.  Below are the errors. What did I miss?
>
> Paul
>
> 2009-07-23 12:01:24,150 [httpSSLWorkerThread-80-0] ERROR
> com.ecyrd.jspwiki.auth.AuthenticationManager
> JSPWiki:/appserver/Login.jsp
> JSPWiki:http://glassfishwiki1.foundry.sun.com/appserver/Login.jsp -
> Couldn't retrieve login configuration.
> Message=No LoginModules configured for JSPWiki-custom
>
> 2009-07-23 12:01:24,151 [httpSSLWorkerThread-80-0] ERROR
> com.ecyrd.jspwiki.auth.AuthenticationManager
> JSPWiki:/appserver/Login.jsp
> JSPWiki:http://glassfishwiki1.foundry.sun.com/appserver/Login.jsp - No
> login context.  Please double-check that JSPWiki found your
> 'jspwiki.jaas' file or the contents have been appended to your regular
> JAAS file.
>
> 2009-07-23 12:01:24,151 [httpSSLWorkerThread-80-0] INFO JSPWiki
> JSPWiki:/appserver/Login.jsp
> JSPWiki:http://glassfishwiki1.foundry.sun.com/appserver/Login.jsp -
> Failed to authenticate user admin
>