[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1276) Check for user date-registration if we can set-it up at user creation then make it read-only.
Thomas Heute (JIRA)
jira-events at lists.jboss.org
Thu Feb 15 21:04:30 EST 2007
Check for user date-registration if we can set-it up at user creation then make it read-only.
---------------------------------------------------------------------------------------------
Key: JBPORTAL-1276
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1276
Project: JBoss Portal
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Portal Identity
Reporter: Thomas Heute
Assigned To: Boleslaw Dawidowicz
Fix For: 2.6.CR1
Property registration-date is specified writeable in:
HibernateUserImpl.java:
map.put(org.jboss.portal.identity.User.INFO_USER_REGISTRATION_DATE, new DatePropertyAccessor(org.jboss.portal.identity.User.INFO_USER_REGISTRATION_DATE, "registrationDate", true, false));
and
read-only in core/output/resources/jboss-portal.sar/conf/identity/profile-config.xml
<property>
<name>portal.user.registration-date</name>
<type>java.util.Date</type>
<access-mode>read-only</access-mode>
<usage>mandatory</usage>
<display-name xml:lang="en">Registration date</display-name>
<description xml:lang="en">Registration date of user</description>
<mapping>
<database>
<type>column</type>
<value>jbp_regdate</value>
</database>
</mapping>
</property>
This should be sorted out.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list