jaas
Java EE 6 on Glassfish 3.1 CallbackHandler throws NullPointerException
I implemented an own LoginModule for a custom authentication process due to the need for find granular access control. The LoginModule looks like that:[详细]
2023-04-12 10:26 分类:问答How to programatically specify my user/role in OpenEJB?
In the project I\'m working on, we are using OpenEJB as a framework to test our EJB. We construct an InitialContext programatically, and use it to get the transaction manager and the various EJB.[详细]
2023-04-11 02:25 分类:问答JAAS and Security - how to use custom tables with GlassFish Security?
Is it possible to use JAAS with GlassFish but using my custom tables ? I\'ve got a mapping like this tbUser -> user_roles <- tbRoles[详细]
2023-04-10 12:53 分类:问答Avoid login (JAAS) every time I change path (and it generates a new session)
I\'ve configured my Java EE app to use declarative security with JAAS (I\'ve even implemented a custom LoginModule). The problem is that every time I change the url path (e.g. from http://mysite/restr[详细]
2023-04-10 09:05 分类:问答LdapLoginModule Search-first nonanonymous search
I got to use the LdapLoginModule http://download.oracle.com/javase/6/docs/jre/api/security/jaas/spec/com/sun/security/auth/module/LdapLoginModule.html together with Microsoft Active Directory in searc[详细]
2023-04-03 12:59 分类:问答"Spring Security" and "Java Authentication and Authorization Service(jaas)"
I\'m so new to Spring and Spring security , we have an extended java application (not web application) and trying touse spring as a framework.[详细]
2023-04-03 01:27 分类:问答EJB3 & How JAAS subject/principal is propagated to EJB Tier from servlet container?
I\'m trying to understand how the JAAS principal propagates to the Business/EJB tier from web tier. I\'ve read that the if the roles/realm is configured in login-config & security-context of web.[详细]
2023-03-30 16:04 分类:问答How does the call to the hashing algorithm work, particularly the use of bit shifting 0xff?
The following code snippet, sourced from Core Java Vol 2 (7th Ed), shows how to create an SHA1 and an MD5 fingerprint using Java.[详细]
2023-03-23 01:41 分类:问答JBoss JAAS custom Login Module
I\'m trying to use a custom JAAS authentication module for a web based application hosted on JBoss 5.1.0.GA. So everything seems to be working fine, until the number of users increases and sessions (s[详细]
2023-03-20 11:51 分类:问答Glassfish v3.1 jaas error
I have problem with creating easy authorization using jaas, Glassfish v3.1 and server 3.0. I configure web.xml, sun-web.xml and done according to David Heffelfinger\'s book \"Java EE 6 with GlassFish[详细]
2023-03-20 06:20 分类:问答