• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Enable Java 2 security

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone tell me

1) how to enable java 2 security in Websphere studio (WSAD5.0)?

2) How to check whether security is enabled /not using normal java program?

Thanks in advance

bye
laxmi narayan
 
Ginnakunta Laxmi Narayan
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Answer
The WebSphere Application Server 5.0 Administration Console is a Struts-based application that works with Java2 Security enabled. Make sure that you are modifying the was.policy file in the META-INF directory of the EAR file of your application. If you have already installed the application and you are modifying the policy file, make sure you modify the right copy of the was.policy file.
On installation of an application, WebSphere makes a copy of all of the metadata files in the EAR into the /config/cells//applications/.ear/deployments/ folder. Therefore, the copy of the policy file that is actually read by the server is the following: /config/cells//applications/.ear/deployments//META-INF/was.policy. Make sure this is the copy that you are modifying.
Of course, if you reinstall the application with a new policy file, things will work correctly as well.
 
He's giving us the slip! Quick! Grab this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic