Announcement Announcement Module
Collapse
No announcement yet.
Java security Policy for RMI Remoting Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Java security Policy for RMI Remoting

    I am planning to use Spring Remoting with RMI. I have got all the details I need but I am stuck where do I need to define security policy for the exposed interface.

    In my exposed service there is a need to control the access and I need to define policy such as this

    grant {
    permission java.net.SocketPermission
    "*:1024-65535",
    "connect,accept,resolve";
    permission java.net.SocketPermission
    "*:80", "connect";
    }

    I am not able figure out how these details will get injecting in Spring, which XML tag, which class property etc.

    Any help, pointers would be very much appreciated
Working...
X