1 Reply Latest reply on Nov 9, 2012 10:32 AM by Randall Hauch

    Principal's name in createdBy

    nl Newbie

      Hi,

       

      I am using ModeShape 2.8.2 and modeshape is automatically using the principal's name from the jaas security context as value for createdBy and lastModifiedBy properties.

      Is it possible to change this behaviour in some way? E.g. in our environment the principal's name is the login name for the application. And I cannot change that. But I'd prefer to use the user's database id instead of his login name as property value in ModeShape.

      We use a custom principal which also knows a surrogate in addition to the name.

       

      Thanks, Niels