posted 20 years ago
I am getting an Authorization/security error accessing home methods like create(), findByPrimaryKey(), etc.
We added a column to a table wanted to display it in our front end (Swing based). So here are the steps I followed:
1. Added a column to the database.
2. Added a non-key CMP field to the Bean.
3. Added a column to the table in the Schema using Schema Browser.
4. Mapped the Bean to Schema using Map Browser.
5. Generated Deployed code on the Bean.
6. Exported Deployed Jar.
7. Exported all other jar files.
8. Stopped WAS.
9. Stopped IBM Secureway.
10. Copied the jar files in their respective directories.
11 Added security to the new methods using WAS Admin Console.
11. Started SecureWay
12. Started WAS
13. Logged into the application and tried to save and got the error
"6/16/03 5:44 PM : AUDIT [WBCTH01AC124/Warranty_dev]: Authorization failed for WBCTH01AC124:389/websphere while invoking (Home)com/anc/warrantyclaims/ejb/Claim create"
Am I missing anything here?
We are using WAS 3.5.4 and VAJ 4.0.
Any help will be appreciated.
TIA.
Jag.