Re: Role inherited entitlement not removed, after role updat
I've actually experienced some of the same thing, and I documented the step by step results; sorry for all the text.
First Test -
* Created role
* Assigned users to role
* Create resource
* Added entitlement to resource
* Add resource to role
* Users who were assigned role, were not granted resource (and thus not given the entitlement)
Here is the trace:
[11/19/2009 15:00:02.992] java.lang.NullPointerException
[11/19/2009 15:00:02.995] Role and Resource Service ST:
DirXML Log Event -------------------
Driver: \NYCEXTV-SBX\servicesext\driversets\SBXXVdriversA\Role and Resource Service
Channel: Subscriber
Status: Error
Message: Error processing resource association
DN: O=servicesext\OU=driversets\CN=SBXXVdriversA\CN=Us erApplication\CN=AppConfig\CN=RoleConfig\CN=Resour ceAssociations\CN=20091119150002-35c42c8a21194f6995260e3a1b9a0a43
Reason: java.lang.NullPointerException
Second Test -
* Create role
* Create resource
* Added entitlement to resource
* Add resource to role
* Assigned users to role, and users were granted resource (and entitlement)
* Deleted role and users were not removed from resource (and maintained the entitlement)
Here is the trace that was immediately after the success messages of the users being removed from the role:
[11/19/2009 15:13:17.086] java.lang.NullPointerException
[11/19/2009 15:13:17.087] Role and Resource Service ST:
DirXML Log Event -------------------
Driver: \NYCEXTV-SBX\servicesext\driversets\SBXXVdriversA\Role and Resource Service
Channel: Subscriber
Status: Error
Message: Error processing resource association
DN: O=servicesext\OU=driversets\CN=SBXXVdriversA\CN=Us erApplication\CN=AppConfig\CN=RoleConfig\CN=Resour ceAssociations\CN=20091119151048-33a27c746b7a44c8a80f9250a1c8497c
Reason: java.lang.NullPointerException
Third Test -
* Create role
* Created resource
* Added entitlement to resource
* Add resource to role
* Assigned users to role, and users were granted resource (and entitlement)
* Remove resource from role, and users are not revoked the entitlement
Here is the trace:
[11/19/2009 15:19:59.520] java.lang.NullPointerException
[11/19/2009 15:19:59.522] Role and Resource Service ST:
DirXML Log Event -------------------
Driver: \NYCEXTV-SBX\servicesext\driversets\SBXXVdriversA\Role and Resource Service
Channel: Subscriber
Status: Error
Message: Error processing resource association
DN: O=servicesext\OU=driversets\CN=SBXXVdriversA\CN=Us erApplication\CN=AppConfig\CN=RoleConfig\CN=Resour ceAssociations\CN=20091119151750-f7e789b64eb0499f9c6dff21ab10f9e0
Reason: java.lang.NullPointerException
|