|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
RE: URGENT -- UTF-* encoding issueI have recently upgraded to 2.8.2 and have a major problem with Character encoding in some pages. (UTF-8)
"Select Start ¬タモ Run ¬タモ and" Single Quotes/ Double Quotes and Hypthens (-) are being rendered in wiki as some wierd character? Once I edit the file it appears ok - in unix the orginal file is fine. Any help would be very much appreciated. Thanks, Naveed. |
|
|
MultipleWikis >> Security 2.3 FAQI was looking into setting up a 2.8.x with security, and was looking to
see if jspwiki.policy could be set in server.xml as a context parameter like I do for the jspwiki.properties file (see MultipleWikis page). There is a question on the MultipleWikis page about this that links to page "Security 2.3 FAQ". This appears to require a login, I (of course) have forgotten what I used for the jspwiki.org site, and attempted to re-register. In several attempts to register I get a "invalid profile" message (presumably because one of the elements I was using to register existed my old profile?). So I'm wanting the info on that page, so I figure fine, I'll just register as a temporary user "SnarfBlatt", and just use that profile... The registration succeeded, but when I then tried to access the page "Security 2.3 FAQ", I get a "Forbidden" message. The site shows me as Authenticated as "SnarfBlatt", but access is denied? So two questions: 1) Why can't I get to the page "Security 2.3 FAQ" as SnarfBlatt? (Idle curiosity/annoyance) and 2) How can I override the jspwiki.policy on a per-wiki basis when setting up MultipleWikis? Regards, John Volkar |
|
|
Re: MultipleWikis >> Security 2.3 FAQJohn -- I don't know the answer to question #1 offhand, but as for #2,
security for each wiki is controlled by the jspwiki.policy file in WEB- INF. Each wiki has its own. You can also use a "global" policy file by specifying the JVM property java.security.policy, but note that this option will go away in 3.0. (Many people found global policies confusing.) On Jun 8, 2009, at 6:57, "Volkar, John M." <JVolkar@...> wrote: > I was looking into setting up a 2.8.x with security, and was looking > to > see if jspwiki.policy could be set in server.xml as a context > parameter > like I do for the jspwiki.properties file (see MultipleWikis page). > > There is a question on the MultipleWikis page about this that links to > page "Security 2.3 FAQ". This appears to require a login, I (of > course) > have forgotten what I used for the jspwiki.org site, and attempted to > re-register. In several attempts to register I get a "invalid > profile" > message (presumably because one of the elements I was using to > register > existed my old profile?). So I'm wanting the info on that page, so I > figure fine, I'll just register as a temporary user "SnarfBlatt", and > just use that profile... > > The registration succeeded, but when I then tried to access the page > "Security 2.3 FAQ", I get a "Forbidden" message. The site shows me as > Authenticated as "SnarfBlatt", but access is denied? > > > So two questions: > 1) Why can't I get to the page "Security 2.3 FAQ" as SnarfBlatt? > (Idle > curiosity/annoyance) > and > 2) How can I override the jspwiki.policy on a per-wiki basis when > setting up MultipleWikis? > > Regards, > John Volkar > |
|
|
RE: MultipleWikis >> Security 2.3 FAQ> security for each wiki is controlled by the jspwiki.policy
> file in WEB-INF Right got it, and so is jspwiki.properties similarly (typically?) located there. I want to specify the policy file location just like I do the property file location using jspwiki.propertiesfile="\somepath\to\jspwiki.properties" as a <Context> parameter... I was hoping that was mentioned on the "Security 2.3 FAQ" page. For now, I'll just edit the policy files under WEB-INF, but this doesn't play nice with MultipleWikis... (docBase == a war file). -----Original Message----- From: Andrew Jaquith [mailto:andrew.r.jaquith@...] Sent: Monday, June 08, 2009 8:23 AM To: jspwiki-user@... Cc: <jspwiki-user@...> Subject: Re: MultipleWikis >> Security 2.3 FAQ John -- I don't know the answer to question #1 offhand, but as for #2, security for each wiki is controlled by the jspwiki.policy file in WEB- INF. Each wiki has its own. You can also use a "global" policy file by specifying the JVM property java.security.policy, but note that this option will go away in 3.0. (Many people found global policies confusing.) On Jun 8, 2009, at 6:57, "Volkar, John M." <JVolkar@...> wrote: > I was looking into setting up a 2.8.x with security, and was looking > to > see if jspwiki.policy could be set in server.xml as a context > parameter > like I do for the jspwiki.properties file (see MultipleWikis page). > > There is a question on the MultipleWikis page about this that links to > page "Security 2.3 FAQ". This appears to require a login, I (of > course) > have forgotten what I used for the jspwiki.org site, and attempted to > re-register. In several attempts to register I get a "invalid > profile" > message (presumably because one of the elements I was using to > register > existed my old profile?). So I'm wanting the info on that page, so I > figure fine, I'll just register as a temporary user "SnarfBlatt", and > just use that profile... > > The registration succeeded, but when I then tried to access the page > "Security 2.3 FAQ", I get a "Forbidden" message. The site shows me as > Authenticated as "SnarfBlatt", but access is denied? > > > So two questions: > 1) Why can't I get to the page "Security 2.3 FAQ" as SnarfBlatt? > (Idle > curiosity/annoyance) > and > 2) How can I override the jspwiki.policy on a per-wiki basis when > setting up MultipleWikis? > > Regards, > John Volkar > |
|
|
Re: URGENT -- UTF-* encoding issuecan you reproduce this problem on http://sandbox.jspwiki.org ?
Harry 2009/6/8 Ahmad, Naveed1 <naveed1.ahmad@...> > I have recently upgraded to 2.8.2 and have a major problem with Character > encoding in some pages. (UTF-8) > > "Select Start ¬タモ Run ¬タモ and" > > Single Quotes/ Double Quotes and Hypthens (-) are being rendered in wiki > as some wierd character? Once I edit the file it appears ok - in unix > the orginal file is fine. Any help would be very much appreciated. > > Thanks, > > Naveed. > |
|
|
|
|
|
Re: MultipleWikis >> Security 2.3 FAQJohn,
if you still need the info on http://www.jspwiki.org/wiki/Security2.3FAQ, you can view it now. There was an ALLOW statement on it that wasn't between comment brackets. regards, Harry 2009/6/8 Volkar, John M. <JVolkar@...> > I was looking into setting up a 2.8.x with security, and was looking to > see if jspwiki.policy could be set in server.xml as a context parameter > like I do for the jspwiki.properties file (see MultipleWikis page). > > There is a question on the MultipleWikis page about this that links to > page "Security 2.3 FAQ". This appears to require a login, I (of course) > have forgotten what I used for the jspwiki.org site, and attempted to > re-register. In several attempts to register I get a "invalid profile" > message (presumably because one of the elements I was using to register > existed my old profile?). So I'm wanting the info on that page, so I > figure fine, I'll just register as a temporary user "SnarfBlatt", and > just use that profile... > > The registration succeeded, but when I then tried to access the page > "Security 2.3 FAQ", I get a "Forbidden" message. The site shows me as > Authenticated as "SnarfBlatt", but access is denied? > > > So two questions: > 1) Why can't I get to the page "Security 2.3 FAQ" as SnarfBlatt? (Idle > curiosity/annoyance) > and > 2) How can I override the jspwiki.policy on a per-wiki basis when > setting up MultipleWikis? > > Regards, > John Volkar > > |
|
|
Re: MultipleWikis >> Security 2.3 FAQ...which is a really good reason to start working on a separate ACL editor... /Janne On 8 Jun 2009, at 20:21, Harry Metske wrote: > John, > > if you still need the info on http://www.jspwiki.org/wiki/Security2.3FAQ > , > you can view it now. > There was an ALLOW statement on it that wasn't between comment > brackets. > > regards, > Harry > > 2009/6/8 Volkar, John M. <JVolkar@...> > >> I was looking into setting up a 2.8.x with security, and was >> looking to >> see if jspwiki.policy could be set in server.xml as a context >> parameter >> like I do for the jspwiki.properties file (see MultipleWikis page). >> >> There is a question on the MultipleWikis page about this that links >> to >> page "Security 2.3 FAQ". This appears to require a login, I (of >> course) >> have forgotten what I used for the jspwiki.org site, and attempted to >> re-register. In several attempts to register I get a "invalid >> profile" >> message (presumably because one of the elements I was using to >> register >> existed my old profile?). So I'm wanting the info on that page, so I >> figure fine, I'll just register as a temporary user "SnarfBlatt", and >> just use that profile... >> >> The registration succeeded, but when I then tried to access the page >> "Security 2.3 FAQ", I get a "Forbidden" message. The site shows me >> as >> Authenticated as "SnarfBlatt", but access is denied? >> >> >> So two questions: >> 1) Why can't I get to the page "Security 2.3 FAQ" as SnarfBlatt? >> (Idle >> curiosity/annoyance) >> and >> 2) How can I override the jspwiki.policy on a per-wiki basis when >> setting up MultipleWikis? >> >> Regards, >> John Volkar >> >> |
|
|
Re: MultipleWikis >> Security 2.3 FAQWhich validates users and groups, created in user.xml and groups.xml.
If using ldap authentication, the users isnt nessarily On Jun 8, 2009, at 19:56 , Janne Jalkanen wrote: > > ...which is a really good reason to start working on a separate ACL > editor... > > /Janne > > On 8 Jun 2009, at 20:21, Harry Metske wrote: > >> John, >> >> if you still need the info on http://www.jspwiki.org/wiki/Security2.3FAQ >> , >> you can view it now. >> There was an ALLOW statement on it that wasn't between comment >> brackets. >> >> regards, >> Harry >> >> 2009/6/8 Volkar, John M. <JVolkar@...> >> >>> I was looking into setting up a 2.8.x with security, and was >>> looking to >>> see if jspwiki.policy could be set in server.xml as a context >>> parameter >>> like I do for the jspwiki.properties file (see MultipleWikis page). >>> >>> There is a question on the MultipleWikis page about this that >>> links to >>> page "Security 2.3 FAQ". This appears to require a login, I (of >>> course) >>> have forgotten what I used for the jspwiki.org site, and attempted >>> to >>> re-register. In several attempts to register I get a "invalid >>> profile" >>> message (presumably because one of the elements I was using to >>> register >>> existed my old profile?). So I'm wanting the info on that page, >>> so I >>> figure fine, I'll just register as a temporary user "SnarfBlatt", >>> and >>> just use that profile... >>> >>> The registration succeeded, but when I then tried to access the page >>> "Security 2.3 FAQ", I get a "Forbidden" message. The site shows >>> me as >>> Authenticated as "SnarfBlatt", but access is denied? >>> >>> >>> So two questions: >>> 1) Why can't I get to the page "Security 2.3 FAQ" as SnarfBlatt? >>> (Idle >>> curiosity/annoyance) >>> and >>> 2) How can I override the jspwiki.policy on a per-wiki basis when >>> setting up MultipleWikis? >>> >>> Regards, >>> John Volkar >>> >>> > |
|
|
Re: MultipleWikis >> Security 2.3 FAQSorry, pressed send prematurely
Which validates users and groups, created in user.xml and groups.xml. If using ldap authentication, the users isnt necessarily created in user.xml. regards Thomas On Jun 8, 2009, at 20:28 , Thomas Engelschmidt wrote: > Which validates users and groups, created in user.xml and groups.xml. > If using ldap authentication, the users isnt nessarily > > On Jun 8, 2009, at 19:56 , Janne Jalkanen wrote: > >> >> ...which is a really good reason to start working on a separate ACL >> editor... >> >> /Janne >> >> On 8 Jun 2009, at 20:21, Harry Metske wrote: >> >>> John, >>> >>> if you still need the info on http://www.jspwiki.org/wiki/Security2.3FAQ >>> , >>> you can view it now. >>> There was an ALLOW statement on it that wasn't between comment >>> brackets. >>> >>> regards, >>> Harry >>> >>> 2009/6/8 Volkar, John M. <JVolkar@...> >>> >>>> I was looking into setting up a 2.8.x with security, and was >>>> looking to >>>> see if jspwiki.policy could be set in server.xml as a context >>>> parameter >>>> like I do for the jspwiki.properties file (see MultipleWikis page). >>>> >>>> There is a question on the MultipleWikis page about this that >>>> links to >>>> page "Security 2.3 FAQ". This appears to require a login, I (of >>>> course) >>>> have forgotten what I used for the jspwiki.org site, and >>>> attempted to >>>> re-register. In several attempts to register I get a "invalid >>>> profile" >>>> message (presumably because one of the elements I was using to >>>> register >>>> existed my old profile?). So I'm wanting the info on that page, >>>> so I >>>> figure fine, I'll just register as a temporary user "SnarfBlatt", >>>> and >>>> just use that profile... >>>> >>>> The registration succeeded, but when I then tried to access the >>>> page >>>> "Security 2.3 FAQ", I get a "Forbidden" message. The site shows >>>> me as >>>> Authenticated as "SnarfBlatt", but access is denied? >>>> >>>> >>>> So two questions: >>>> 1) Why can't I get to the page "Security 2.3 FAQ" as SnarfBlatt? >>>> (Idle >>>> curiosity/annoyance) >>>> and >>>> 2) How can I override the jspwiki.policy on a per-wiki basis when >>>> setting up MultipleWikis? >>>> >>>> Regards, >>>> John Volkar >>>> >>>> >> > |
|
|
|
|
|
|
|
|
Re: URGENT -- UTF-* encoding issueDid you check this? http://www.jspwiki.org/wiki/TomcatAndUTF8 /Janne On 9 Jun 2009, at 13:39, Ahmad, Naveed1 wrote: > Or an Apostrophy > > > -----Original Message----- > From: Ahmad, Naveed1 [CMB-IT] > Sent: 09 June 2009 11:38 > To: jspwiki-user@... > Subject: RE: URGENT -- UTF-* encoding issue > > Not able to do this ..... However the underlying page.txt file has > "â" character which should be a "-" > > -----Original Message----- > From: Ahmad, Naveed1 [CMB-IT] > Sent: 08 June 2009 18:17 > To: jspwiki-user@... > Subject: Re: URGENT -- UTF-* encoding issue > > Thanks > > Good point - I will try it shortly > > > ----- Original Message ----- > From: Harry Metske <harry.metske@...> > To: jspwiki-user@... <jspwiki-user@... > > > Sent: Mon Jun 08 18:10:39 2009 > Subject: Re: URGENT -- UTF-* encoding issue > > can you reproduce this problem on http://sandbox.jspwiki.org ? > > Harry > > > 2009/6/8 Ahmad, Naveed1 <naveed1.ahmad@...> > >> I have recently upgraded to 2.8.2 and have a major problem with >> Character encoding in some pages. (UTF-8) >> >> "Select Start ¬タモ Run ¬タモ and" >> >> Single Quotes/ Double Quotes and Hypthens (-) are being rendered >> in wiki >> as some wierd character? Once I edit the file it appears ok - in >> unix >> the orginal file is fine. Any help would be very much appreciated. >> >> Thanks, >> >> Naveed. >> > |
|
|
|
|
|
Re: URGENT -- UTF-* encoding issueSince the data on-disk is already different from what was posted, it's quite likely that the HTTP POST is not parsed correctly by the servlet container. There is a change - in 2.4 we were explicitly parsing with new String( String.getBytes("Latin1"), "UTF-8" ), but with 2.8 we're using request.setCharacterEncoding("UTF-8"). This could be the reason, in which case it looks like Weblogic has a fairly serious problem. /Janne On 9 Jun 2009, at 22:44, Ahmad, Naveed1 wrote: > Thanks - but > > 1) I am using weblogic 10.2 > > 2) We do not have the issue with jspwiki 2.4 on weblogic 10.2 > > I will check weblogic for this setting. > > Thanks, > > Naveed > > > ----- Original Message ----- > From: Janne Jalkanen <janne.jalkanen@...> > To: jspwiki-user@... <jspwiki-user@... > > > Sent: Tue Jun 09 20:28:06 2009 > Subject: Re: URGENT -- UTF-* encoding issue > > > Did you check this? > > http://www.jspwiki.org/wiki/TomcatAndUTF8 > > /Janne > > On 9 Jun 2009, at 13:39, Ahmad, Naveed1 wrote: > >> Or an Apostrophy >> >> >> -----Original Message----- >> From: Ahmad, Naveed1 [CMB-IT] >> Sent: 09 June 2009 11:38 >> To: jspwiki-user@... >> Subject: RE: URGENT -- UTF-* encoding issue >> >> Not able to do this ..... However the underlying page.txt file has >> "â" character which should be a "-" >> >> -----Original Message----- >> From: Ahmad, Naveed1 [CMB-IT] >> Sent: 08 June 2009 18:17 >> To: jspwiki-user@... >> Subject: Re: URGENT -- UTF-* encoding issue >> >> Thanks >> >> Good point - I will try it shortly >> >> >> ----- Original Message ----- >> From: Harry Metske <harry.metske@...> >> To: jspwiki-user@... <jspwiki-user@... >>> >> Sent: Mon Jun 08 18:10:39 2009 >> Subject: Re: URGENT -- UTF-* encoding issue >> >> can you reproduce this problem on http://sandbox.jspwiki.org ? >> >> Harry >> >> >> 2009/6/8 Ahmad, Naveed1 <naveed1.ahmad@...> >> >>> I have recently upgraded to 2.8.2 and have a major problem with >>> Character encoding in some pages. (UTF-8) >>> >>> "Select Start ¬タモ Run ¬タモ and" >>> >>> Single Quotes/ Double Quotes and Hypthens (-) are being rendered >>> in wiki >>> as some wierd character? Once I edit the file it appears ok - in >>> unix >>> the orginal file is fine. Any help would be very much appreciated. >>> >>> Thanks, >>> >>> Naveed. >>> >> > > |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| < Prev | 1 - 2 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |