Hi all,

just a question to url encryption.

I added following section to my application class 

/**
     * @see
org.apache.wicket.authentication.AuthenticatedWebApplication#newRequestC
ycleProcessor()
     */
    @Override
    protected IRequestCycleProcessor newRequestCycleProcessor() {
        return new WebRequestCycleProcessor() {
            @Override
            protected IRequestCodingStrategy newRequestCodingStrategy()
{
                return new CryptedUrlWebRequestCodingStrategy(new
WebRequestCodingStrategy());
            }
        };
    }

And implemented ICryptFactory like this

      this.getSecuritySettings().setCryptFactory(new ICryptFactory() {

                @Override
                public ICrypt newCrypt() {
                    return new AbstractCrypt() {

                        @Override
                        protected byte[] crypt(final byte[] input, final
int mode) throws GeneralSecurityException {
                            ....
                        }
                    };
                }
            });

Urls are now crypted if using links. But if I use setResponsePage the
url is in clearText.
Am I missing something or why aren't they crypted?

Greets Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to