jaas Questions
4
Solved
I have configured a form based log in in my JSF 2.0 Application on GlassFish 3 server, using a custom Realm. What is the simpliest way of getting information about a logged in user, i.e. the users ...
Pawn asked 29/12, 2010 at 23:56
2
I implemented a custom loginModule that is accessed via a web service and checks a username and password infront of a JPA accessed DB.
I ran it on jboss 7.1 and it worked fine, but after moving it ...
2
What is difference, philosophical or otherwise, between calling a web service from Java code using Service and Dispatch classes, vs a SOAPConnection class?
For example, something like this:
SOAPC...
1
Solved
jboss-web.xml
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<security-domain flushOnSessionInvalidation="true">my-aktion
</security-domain>
<valve>
<class-n...
Azole asked 21/2, 2014 at 10:25
1
All,
Can anybody provide advice on how to use the JAAS LoginContext to do an authentication against multiple KDC/Realm combination. In other words, if attempt 1 fails against realm A, try realm B....
2
Solved
I'm using GlassFish server 4.0 in which I have assigned different authorities/roles to different users.
A user may have multiple authorities/roles. For example, an admin user may be associated wit...
Reber asked 2/11, 2013 at 18:16
2
Solved
What's the difference between the Password encryption algorithm and the Digest Algorithm in Glassfish 4?
Because Password encryption algorithm cannot be blank, I used MD5, and for Encoding, Hex.
Th...
Diligence asked 14/10, 2013 at 16:49
2
When a user logs in, I need to insert a message (the host name, just as an example) into the database. Since it is just a text message, injecting an EJB to a client (Servlets, JSP, JSF or something...
Inlay asked 9/9, 2013 at 15:0
1
I'm using Security Domains on JBoss 7 for EJB-Security by Annotations. E.g.
@RolesAllowed({"User", "Admin"})
Currently I declare the Security Domains in standalone.xml. This is approoriate for s...
Neral asked 28/6, 2013 at 12:14
1
Solved
I'm writing a question here because I haven't been able to find the solution myself for months. My situation: I have a client-server application written on java which uses Java2ee 6 and EJB3.0. The...
Blackbeard asked 1/3, 2013 at 10:55
6
Solved
I am having a hard time understanding JAAS. It all seems more complicated than it should be (especially the Sun tutorials). I need a simple tutorial or example on how to implement security (authent...
Plenteous asked 9/3, 2009 at 23:27
2
Solved
I am testing the propagation of JAAS Subject with a custom Principal from a standalone EJB client running on a raw Java runtime to a JavaEE server. I am targeting both JBoss and WebSphere implement...
Eisenstark asked 31/8, 2012 at 10:42
1
Solved
I run JavaEE 6 web application on Glassfish 3. I use JAAS with jdbcRealm and default principal to role mapping. In my database I have table for mapping usernames to their roles:
username | role
-...
Rabid asked 5/3, 2013 at 12:4
3
Solved
I am trying to secure my application which is built using JSF2.0.
I am confused about when do people choose to go with security alternatives like Shiro, Spring Security or owasp's esapi leaving be...
1
Solved
I have a Java EE web application which uses an LDAP authentication. I use Spring security to connect to my LDAP with the following code:
<bean id="ldapContextSource" class="com.myapp.security.a...
Aragats asked 26/12, 2012 at 10:10
5
Solved
I'm writing a java web application which need to perform login through a webservice. Of course, none of the realms supplied with the application server I'm using (glassfish v2) can do the trick. I ...
Chivalry asked 5/4, 2009 at 21:14
5
Solved
In an interview interviewer asked me why you need private credentials in JAAS?
We can access both public credentials and private credentials like :
Set<Object> privateCredentials = subject.g...
4
Solved
I'm wondering what the current approach is regarding user authentication for a web application making use of JSF 2.0 (and if any components do exist) and Java EE 6 core mechanisms (login/check perm...
Pomiferous asked 5/2, 2010 at 11:45
2
Solved
Java Security is my main topic for the last couple of weeks and I archive the following:
Custom Valve Authentificator (extends AuthenticatorBase)
Custom Login Module for jBoss (extends UsernameP...
1
Solved
I'm currently working on a project running on JBoss AS 7 that requires authentication from a variety of sources. I'm trying to get an understanding of the various components that combine to provide...
Interphone asked 29/3, 2012 at 1:9
1
Is there something like a listener that I can use when JAAS authentication is done successfully, so that I can execute code in that moment?
Right now I'm using JBoss AS 7 with the DatabaseLoginMod...
1
Solved
I am attempting to setup container managed security with GlassFish v3.1.1 Build 12 and JSF 2.1. I keep getting the following exception for some reason and I am unable to login.
WARNING: WEB9102: W...
Villalpando asked 29/10, 2011 at 21:5
2
Solved
I'm so new to Spring and Spring security , we have an extended java application (not web application) and trying to use spring as a framework.
I've read a little about jaas and have made a simple j...
Timoteo asked 4/9, 2011 at 13:56
1
Solved
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 ...
Treacy asked 14/7, 2011 at 11:38
1
Solved
I am working with glassfish and jaas module.
I configured my web.xml in this way.
<security-constraint>
<web-resource-collection>
<web-resource-name>ALL Page for admin</web...
Aromatize asked 18/7, 2011 at 2:28
© 2022 - 2024 — McMap. All rights reserved.