Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.
mpcooke3
Unregistered
|
|
The security blanket is designed to hold the thread-to-permission mappings in a hashMap. This would require calling the Security blanket initially from various threads but the underlying hashMap is not syncronised and neither is the external access to the SecurityBlanket methods in the example.
I suspect this means there is a chance that weirdo stuff might happen - particularly under heavy usage.
|
|
0 registered and 1 anonymous users are browsing this forum.
Moderator:
Print Topic
|
Forum Permissions
You cannot start new topics
You cannot reply to topics
HTML is disabled
UBBCode is enabled
|
Rating:
Topic views: 5593
|
|
|
|
|
|
Powered by UBB.threads™ 6.5.5