aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes RMISecurityManager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "RMISecurityManager" Watch "RMISecurityManager" New topic
Author

RMISecurityManager

Ray Cheeny
Ranch Hand

Joined: Aug 21, 2002
Posts: 74
Hi,
1>Must I use RMISecurityManager?
2>When I use 'java' to run DBConnectionServer ,I have to add '-Djava.rmi.server.codebase=....'.But what is the codebase,and why should I add it?
Nate Johnson
Ranch Hand

Joined: May 13, 2002
Posts: 301
I did not use any of that stuff... no security manager, policy file, codebase, etc... and passed just fine.


scwcd, scjd, scjp<br /><a href="http://natejohnson.us" target="_blank" rel="nofollow">http://natejohnson.us</a><br /><a href="http://rice.kuali.org" target="_blank" rel="nofollow">http://rice.kuali.org</a>
Ray Cheeny
Ranch Hand

Joined: Aug 21, 2002
Posts: 74
hi,
These command lines may only take configuration parameters selected from this list:
DNS name of the server
Port number used by the server
Data file name(s)
java.rmi.server.codebase
security manager policy file
You must not require the editing of any files by the examiners.

what do the instructions mean?
Must I have all of them or choose some?
What did you not use ?
Nate Johnson
Ranch Hand

Joined: May 13, 2002
Posts: 301
I used dns, port and db file. That's it
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451

Must I have all of them or choose some?

If you answered yes to both of the above options, you are entitled to pass go and collect $200. You could even choose none of them. It's all up to what is required to run yourproject.

Michael Morris
[ August 27, 2002: Message edited by: Michael Morris ]
[ August 27, 2002: Message edited by: Michael Morris ]

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

I only used security manager policy file. Which granted permission to All anyway.
So Michael, did you have to edit your post twice to come up with that witty response. JK
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451

So Michael, did you have to edit your post twice to come up with that witty response

I had a line-feed between "your" and "project" and, as you can see, I still didn't get it right so just said screw it after two edits.
You should join the State Department Mark with your flare for unoffensive language. My wife would have called it a smart-assed response instead of your choice of witty.
Michael Morris
 
Consider Paul's rocket mass heater.
 
subject: RMISecurityManager