This discussion is archived
1 Reply Latest reply: Nov 4, 2013 7:53 AM by Sri. RSS

How to create a Principal of ApplicationRole type

Sri. Newbie
Currently Being Moderated



WLS: 10.3.5 (an embedded wls in jdev

I have created a Custom Authenticator for authenticating and authorizing a user.

After authenticating a user, the Subject should be populated with a set of Application Roles applicable for that user to access the application resources.

So, I am looking for an API which creates ApplicationRole type Principals, which I can add to an authenticated subject.