Hi!

I'm successfully testing CryptoMapper in Apache Wicket 6 with unique URL
for each Session. But I'm also depending on to be able to define security
constaint in the web.xml.

    <security-constraint>
        <web-resource-collection>
            <web-resource-name>example-wicket</web-resource-name>
            <url-pattern>/user/*</url-pattern>
        </web-resource-collection>

        <auth-constraint>
            <description>These are the roles who have access.</description>
            <role-name>ROLE_USER</role-name>
            <role-name>ROLE_ADMIN</role-name>
        </auth-constraint>
    </security-constraint>

So my question is it possible to prefix predefined classes with
CryptoMapper?

Example

I used to mount pages with mountPage("/user/" + Foo.class.getSimpleName(),
Foo.class);

which resulted in URL: http://localhost:8080/example-wicket/user/Foo

now I would like to decrypt Foo and it's possible page parameters, but not
'user', e.g.

http://localhost:8080/example-wicket/user/o9SSJ_GJqmO_wPa3pBY9hhdoDOXrAjrVc8kgLXVijrc6zKG3_zokAWSik-hyrZBXM4h5Qc2JOn0WfAGPQo8eYA/o9Sc8/Jqme5/9SS98

-- 
Best Regards
Magnus K Karlsson

Mobile: +46 (0)70 218 00 84
Email: [email protected]
Blog: magnus-k-karlsson.blogspot.com

Reply via email to