incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <Janne.Jalka...@ecyrd.com>
Subject Re: changing "please login" error message on secured pages
Date Mon, 17 Dec 2007 20:57:14 GMT

Did you also install the new jspwiki.jks to the proper place?  It  
must be in the same directory as your policy file.

/Janne

On 17 Dec 2007, at 22:47, jonathan wrote:

> I did use "ant jar".  JSPWiki.jar verifies correctly:
>
> # jarsigner -verify JSPWiki.jar
> jar verified.
>
> Warning: This jar contains entries whose signer certificate will  
> expire within six months. Re-run with the -verbose and -certs  
> options for more details.
>
> I'm still missing something, presumably?
>
> Jonathan.
>
>
> Janne Jalkanen wrote:
>> You must sign the JAR file.  The signatures are against the one  
>> which *we* distribute.  Use "ant jar", it should also sign it.
>> /Janne
>> On 17 Dec 2007, at 22:32, jonathan wrote:
>>> hmmmm...  Grabbed the 2.4.91 source, made the requisite change,  
>>> and recompiled ("ant jar") (skipping past the certificate stuff  
>>> by hitting enter).  With the new JSPWiki.jar in place, I'm  
>>> getting forced to log in to see the "Main" page, and when I try,  
>>> I'm getting Forbidden.  None of this was secured before.
>>>
>>> We're running custom ldap authentication (based on http:// 
>>> kaukoluwiki.opendfki.de/wiki/LDAPUserDatabase), but I haven't  
>>> modified anything except JSPWiki.jar, so I'm unsure if it's even  
>>> relevant.
>>>
>>> thanks,
>>> Jonathan.
>>>
>>> Janne Jalkanen wrote:
>>>> You must go and edit src/com/ecyrd/jspwiki/WikiContext.java,  
>>>> recompile and create a new JAR.
>>>> Or, you can upgrade to 2.6, and edit CoreResources.properties.
>>>> /Janne
>>>> On 13 Dec 2007, at 21:28, jonathan wrote:
>>>>> 2.4.91
>>>>>
>>>>> Janne Jalkanen wrote:
>>>>>> Which version of JSPWiki?
>>>>>> /Janne
>>>>>> On 13 Dec 2007, at 21:07, jonathan wrote:
>>>>>>> I'd like to change the current default message that gets  
>>>>>>> returned when an unauthenticated user attempts to access a  
>>>>>>> secured resource.
>>>>>>>
>>>>>>> Currently, I'm seeing:  "Error: You don't have access to  
>>>>>>> '<SecuredPage>'. Please log in first."
>>>>>>>
>>>>>>> Can this be modified somewhere?
>>>>>>>
>>>>>>> thanks,
>>>>>>> Jonathan.


Mime
View raw message