[gatein-issues] [JBoss JIRA] (GTNPORTAL-2941) Improve the configurability of CookieTokenService

Minh Hoang TO (JIRA) jira-events at lists.jboss.org
Wed Apr 24 04:54:53 EDT 2013


     [ https://issues.jboss.org/browse/GTNPORTAL-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Minh Hoang TO updated GTNPORTAL-2941:
-------------------------------------

    Labels: done  (was: )

    
> Improve the configurability of CookieTokenService
> -------------------------------------------------
>
>                 Key: GTNPORTAL-2941
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-2941
>             Project: GateIn Portal
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Julien Viet
>            Assignee: Minh Hoang TO
>              Labels: done
>
> The current CookieTokenService needs to find the codeckey.txt file and for this reason it relies on gatein.conf.dir property value.
> The consequence of this is the need for hacks in the testsuite in:
> - AbstractTokenServiceTest
> - TestSimpleGeneratorService
> that needs to override beforeRunBare to setup the gatein.conf.dir
> To solve this issue the CookieTokenService should have a property defined in XML configuration set to {{${gatein.conf.dir}/codec/codeckey.txt}} at runtime and to the appropriate value for unit tests in tokenservice-configuration.xml .

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the gatein-issues mailing list