From: Sergiu Dumitriu <[email protected]>
Yishay Mor wrote:
That's what I thought. But have a look at: http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/YishayMor vs.
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/api/genericXML?xpag...
The problem is not that the user profile is not readable, but that the sheet that displays the profile is protected. This is a false protection, as the user profile is readable, it simply isn't displayed. What you can get in your XML respects the access rights.
I thought that might be the case. This is the default setting on the XWiki farm. Perhaps it is a bit misleading? Also, how do I change access rights on all XWiki.XWikiUser objects to fix this?
Here is the corrupted class:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/CaseClass I've never seen that :) Something is indeed deeply broken since the rendering is failing to display but I don't know why.
Yes, that is the problem. And any action you want to perform requires that the document is first loaded, which fails. The only way around this is a direct database change (which I just did, now the class displays fine). I created http://jira.xwiki.org/jira/browse/XWIKI-3026 to remember this issue, and it will need to be solved some time later. Thanks! you saved me. ___________________________ Yishay Mor, Researcher, London Knowledge Lab http://www.lkl.ac.uk/people/mor.html http://www.google.com/calendar/embed?src=yishaym%40gmail.com +44-20-78378888 x5737 2008/12/19 <[email protected]>
Send users mailing list submissions to [email protected]
To subscribe or unsubscribe via the World Wide Web, visit http://lists.xwiki.org/mailman/listinfo/users or, via email, send a message with subject or body 'help' to [email protected]
You can reach the person managing the list at [email protected]
When replying, please edit your Subject line so it is more specific than "Re: Contents of users digest..."
Today's Topics:
1. Re: Can't log on in Internet Explorer (Esbach, Brandon) 2. Re: Can't log on in Internet Explorer (Mike A.) 3. Re: ldap + xwiki.authentication.ldap.user_group (Thomas Mortagne) 4. Re: generic XML API snippet, and SOS (Sergiu Dumitriu) 5. Re: Can't log on in Internet Explorer (Sergiu Dumitriu) 6. Re: Can't log on in Internet Explorer (Nick Watts)
----------------------------------------------------------------------
Message: 1 Date: Fri, 19 Dec 2008 08:18:41 -0500 From: "Esbach, Brandon" <[email protected]> Subject: Re: [xwiki-users] Can't log on in Internet Explorer To: "XWiki Users" <[email protected]> Message-ID: < B7266B04487707449A3919731A7DBA7810EF1D77@us358mx02.tycoelectronics.net>
Content-Type: text/plain; charset="us-ascii"
Any cookie restrictions setup on the IE options?
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Nick Watts Sent: 19 December 2008 12:15 To: XWiki Users Subject: [xwiki-users] Can't log on in Internet Explorer
I have XWiki 1.6.1.13621 installed on Tomcat 6.0.18. I am having some problems logging in when using IE 7. I'm putting in what I know is a valid username and password, but after submitting the login form I am brought back to the login screen. I found a closed issue in Jira that may be the same problem I'm running into (http://jira.xwiki.org/jira/browse/XWIKI-2211). I have never had a problem with Firefox or Safari, only IE. Something to add to the mix though is that I was able to login with IE from within the LAN where XWiki is installed using my work laptop. If I try to login with IE on the same laptop, but across the Internet, the login fails. Does anyone have any insight into this problem?
-- Nick Watts blog: thewonggei.wordpress.com _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
------------------------------
Message: 2 Date: Fri, 19 Dec 2008 15:23:10 +0200 From: "Mike A." <[email protected]> Subject: Re: [xwiki-users] Can't log on in Internet Explorer To: XWiki Users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8
In xwiki.cfg, have you specified the login name name (bind_dn) as domainusername (in xwiki.cfg it would be domain\{0})? Firefox can authentificate using only username, but IE needs to specify domain also. Quoting Nick Watts : I have XWiki 1.6.1.13621 installed on Tomcat 6.0.18. I am having some problems logging in when using IE 7. I'm putting in what I know is a valid username and password, but after submitting the login form I am brought back to the login screen. I found a closed issue in Jira that may be the same problem I'm running into (http://jira.xwiki.org/jira/browse/XWIKI-2211). I have never had a problem with Firefox or Safari, only IE. Something to add to the mix though is that I was able to login with IE from within the LAN where XWiki is installed using my work laptop. If I try to login with IE on the same laptop, but across the Internet, the login fails. Does anyone have any insight into this problem? -- Nick Watts blog: thewonggei.wordpress.com _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users Best regards, Mike
Links: ------ [1] mailto:[email protected]
------------------------------
Message: 3 Date: Fri, 19 Dec 2008 14:35:35 +0100 From: "Thomas Mortagne" <[email protected]> Subject: Re: [xwiki-users] ldap + xwiki.authentication.ldap.user_group To: "XWiki Users" <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8
Fixed now.
It was a wrong log in fact:
if (LOG.isDebugEnabled()) { LOG.debug("LDAP authentication succeed with principal [" + principal.getName() + "]"); }
was executed even when the auth failed meaning that the principal was null in this case.
On Wed, Dec 17, 2008 at 2:58 PM, Bart?omiej Radziszewski <[email protected]> wrote:
Thomas Mortagne wrote:
Hi,
2008/12/17 Bart?omiej Radziszewski <[email protected]>:
hello,
I want to add access to xwiki only for users from special posixGroup in ldap. So I have added option:
#-# only members of the following group will be verified in the LDAP #-# otherwise only users that are found after searching starting from the base_DN xwiki.authentication.ldap.user_group=cn=xwiki,ou=services,dc=xxx,dc=com
all works fine but in logs i get exeption when i dont have some user in this group:
com.xpn.xwiki.XWikiException: Error number 8001 in 8: LDAP user usertest does not belong to LDAP group cn=xwiki,ou=services,dc=xxx,dc=com. at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:328)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:198)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:149)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:203)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3578) at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3586) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4572) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) java.lang.NullPointerException at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:157)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:203)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3578) at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3586) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4572) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124)
at
com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at
org.mortbay.jetty.ajp.Ajp13Connection.access$2900(Ajp13Connection.java:44)
at
org.mortbay.jetty.ajp.Ajp13Connection$RequestHandler.content(Ajp13Connection.java:249)
at
org.mortbay.jetty.ajp.Ajp13Parser.parseNext(Ajp13Parser.java:602)
at org.mortbay.jetty.ajp.Ajp13Parser.parseAvailable(Ajp13Parser.java:157) at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
Probably this NullPointer this is bug..
Yes even if all is working well NullPointer should never append. Which version of XWiki Core/XE are you using ?
xwiki version 1.7, and core i have from snapshot -11.12.2008
Thanks for the report.
Thx and greetings,
-- Bart?omiej Radziszewski mobile: +48 509 561 540 e-mail: [email protected] JID: [email protected] ICQ: #305569725
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Bart?omiej Radziszewski mobile: +48 509 561 540 e-mail: [email protected] JID: [email protected] ICQ: #305569725
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
------------------------------
Message: 4 Date: Fri, 19 Dec 2008 14:50:19 +0100 From: Sergiu Dumitriu <[email protected]> Subject: Re: [xwiki-users] generic XML API snippet, and SOS To: XWiki Users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1
Yishay Mor wrote:
the first problem is that is seems like this API can deliver protected data
It's already blocked by the permission system and for password fields you shouldn't be able to see the value.
That's what I thought. But have a look at: http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/YishayMor vs.
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/api/genericXML?xpag...
The problem is not that the user profile is not readable, but that the sheet that displays the profile is protected. This is a false protection, as the user profile is readable, it simply isn't displayed. What you can get in your XML respects the access rights.
Here is the corrupted class:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/CaseClass I've never seen that :) Something is indeed deeply broken since the rendering is failing to display but I don't know why.
The problem started when I renamed a property to ".unused". I thought I could then add something like: #if (!"$propertyName.startsWith(".")) to hide unused properties. I think what happened is this: The class definition is stored (or processed) in XML, and having a property name starting with '.' confuses the parser.
Yes, that is the problem. And any action you want to perform requires that the document is first loaded, which fails. The only way around this is a direct database change (which I just did, now the class displays fine). I created http://jira.xwiki.org/jira/browse/XWIKI-3026 to remember this issue, and it will need to be solved some time later.
-- Sergiu Dumitriu http://purl.org/net/sergiu/
------------------------------
Message: 5 Date: Fri, 19 Dec 2008 15:03:51 +0100 From: Sergiu Dumitriu <[email protected]> Subject: Re: [xwiki-users] Can't log on in Internet Explorer To: XWiki Users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1
Nick Watts wrote:
I have XWiki 1.6.1.13621 installed on Tomcat 6.0.18. I am having some problems logging in when using IE 7. I'm putting in what I know is a valid username and password, but after submitting the login form I am brought back to the login screen. I found a closed issue in Jira that may be the same problem I'm running into (http://jira.xwiki.org/jira/browse/XWIKI-2211). I have never had a problem with Firefox or Safari, only IE. Something to add to the mix though is that I was able to login with IE from within the LAN where XWiki is installed using my work laptop. If I try to login with IE on the same laptop, but across the Internet, the login fails. Does anyone have any insight into this problem?
This is most likely a cookie problem. Try cleaning cookies first, and see if you can login afterwards. -- Sergiu Dumitriu http://purl.org/net/sergiu/
------------------------------
Message: 6 Date: Fri, 19 Dec 2008 10:10:20 -0500 From: "Nick Watts" <[email protected]> Subject: Re: [xwiki-users] Can't log on in Internet Explorer To: "XWiki Users" <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1
I tried cleaning out my cookies and the problem persisted. I also tried adding my site to my list of trusted sites which didn't work either. I even took the security all the way to low for trusted sites with no change.
On Fri, Dec 19, 2008 at 9:03 AM, Sergiu Dumitriu <[email protected]> wrote:
Nick Watts wrote:
I have XWiki 1.6.1.13621 installed on Tomcat 6.0.18. I am having some problems logging in when using IE 7. I'm putting in what I know is a valid username and password, but after submitting the login form I am brought back to the login screen. I found a closed issue in Jira that may be the same problem I'm running into (http://jira.xwiki.org/jira/browse/XWIKI-2211 ). I have never had a problem with Firefox or Safari, only IE. Something to add to the mix though is that I was able to login with IE from within the LAN where XWiki is installed using my work laptop. If I try to login with IE on the same laptop, but across the Internet, the login fails. Does anyone have any insight into this problem?
This is most likely a cookie problem. Try cleaning cookies first, and see if you can login afterwards. -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Nick Watts blog: thewonggei.wordpress.com
------------------------------
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
End of users Digest, Vol 17, Issue 33 *************************************