karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: Jaas and users.properties
Date Wed, 01 Apr 2015 13:46:24 GMT

this is not the way a JAAS application is supposed to work.
Usually you authenticate via the password, once authenticated the user is
connected to certain roles. For Authorization (thats the tow AAs in JAAS -
Authentication and Authorization).
So if you want to use it for a SingleSignOn solution you'll need to find
another solution.
Right now I strongly advice not to follow that path...

regards, Achim

2015-04-01 15:01 GMT+02:00 xav <xaviermillieret@eaton.com>:

> Hi all,
> I have the following issue, I use the default jaas authentication
> (encrypted), it's works, but in my bundle I would like using again the
> password Inside the  the users.properties.
> I try to find, how to do that, without opening this file, extract the right
> user, and decrypt this password with the EncryptionService. I found Jaas
> command which do that but in the console, I don't found the right solution
> to do that. Am I on the right way, or not???
> Thanks you for the help.
> Regards
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Jaas-and-users-properties-tp4039414.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.


Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message