Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / June 2009

Tip: Looking for answers? Try searching our database.

jaas getCredentials()

Thread view: 
block.oliver@googlemail.com - 25 Jun 2009 15:49 GMT
Hello everybody,

I've read the jaas authentication and authorization tutorials. What's
still not clear to me is "who" is responsible for storing credentials
in the subject? Unfortunately I have not found anything explaining
that.

Another point: The sample Authorizion file (SampleAzn.java) does a
login everytime the authorized action takes place. Is that really
needed? I mean, if the user once hat authenticated, it should be
sufficient, shouldn't it?

Best Regards,

Oliver Block
block.oliver@googlemail.com - 25 Jun 2009 18:47 GMT
On 25 Jun., 16:49, "block.oli...@googlemail.com"
<block.oli...@googlemail.com> wrote:
> Hello everybody,
>
> I've read the jaas authentication and authorization tutorials. What's
> still not clear to me is "who" is responsible for storing credentials
> in the subject? Unfortunately I have not found anything explaining
> that.

I've found a paragraph which suggests that this is done by the login
module in commit(), just as associating the Principals with the
subject.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.