Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 959164

Pages: 1
mpcooke3
Unregistered




Not thread safe?
      #25420 - 12/29/05 10:04 AM

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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
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: 5582

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5