Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problems with JAAS sample

843811Jul 18 2001 — edited Aug 2 2001
Dear All

I am trying to run sample application that accomanies JAAS. I am getting following exception -

Exception in thread "main" java.lang.ExceptionInInitializerError: java.security.
AccessControlException: access denied (java.util.PropertyPermission java.securit
y.auth.debug read)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:272)
at java.security.AccessController.checkPermission(AccessController.java:
399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:12
78)
at java.lang.System.getProperty(System.java:560)
at javax.security.auth.login.Debug$1.run(Debug.java:27)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.Debug.<clinit>(Debug.java:24)
at javax.security.auth.login.LoginContext.<clinit>(LoginContext.java:147
)
at sample.Sample.main(Sample.java:41)

Please let me know if I am missing anything. Any help is appreciated

regards,
- Venu

Comments

So that everyone can understand the detail, please provide more info. For example:
Exactly which Forms and Database version are you using? Keep in mind the version number should include the complete number and not something like 11g, 12c. These are not version numbers.
You said you tried the above. What happens when you do? Does an unexpected value get returned? Does nothing happen? Is there an error? And so on...
Any other details about what you are doing and what you expect would be helpful.

user10991018

forms version is forms [32 Bit] Version 11.1.1.7.0 (Production)
oracle database version is
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

what i am trying to do is
insert the data in a temporary table when select a value using checkbox.
so i am storing the value in a comma separated global variable and when i check or uncheck the values should insert in my temp table.
i am using when checkbox changed trigger to select the multi record block rows

  1. eg.
    :global.empid = (120,121,134)
    :emp_chk = ('y','n','y')
    this should insert dynamically using forms_ddl in temp table.
    please advise
    thanks.
sgalaxy

Many 'should' but no 'what happens' when trying to execute the code you've written...

1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 30 2001
Added on Jul 18 2001
3 comments
112 views