[
https://issues.jboss.org/browse/GTNPORTAL-2941?page=com.atlassian.jira.pl...
]
Julien Viet updated GTNPORTAL-2941:
-----------------------------------
Description:
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 .
was:
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 .
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
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