I have been given the task of implementing a login handler. The only detail the handler captures is username and password. Initially I was going to use a JSP ... |
What's the point of JAAS if I have to write my own {whatever}LoginModule and everything else?
|
I am very new to the whole J2EE architecture. Could somebody help me out?
I have a Swing client with Login, Password fields on machine A.
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
p.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
p.put(Context.PROVIDER_URL, ...
|
I'm using form based authentication (JBOSS/JAAS) but my form is sending the data to my Servlet so I can perform some checks before trying to login.
Now I need to forward to ... |
I need to write a java program to connect to a HTTPS server (DoD website). The website requires CAC (DoD common access card) authentication. If you access this site via browser, ... |
The value proposition of externalizing identity is starting to increase where many sites now accept OpenID, CardSpace or federated identity. However, many developers haven't yet taken the next step to externalize ... |
I'm attempting to enable SSL communication from a web service client (Axis2) using the certificate on the user's CAC card. Works like a charm....UNTIL the web server is CAC enabled. ... |
|
I was wondering if it was possible to have a Java EE application with multiple JAAS security realms.
I'm currently developing an application in which some users need to be authenticated with ... |
I am trying to retrieve the Subject that is currently executing a Privileged Action under the JAAS framework, in order to be able to extract its principals. Basically, I need to ... |
I cant find documentation on where and how an enterprise application authenticates itself with JBoss, so that JBoss allows/denies access to the EJBs according to roles?
Thanks
|
writing a Java EE 6 application i need some help using the DatabaseServerLoginModule with md5 hashing.
Setup:
login-config.xml:
<application-policy name = "app">
<authentication>
...
|
I'd like to implement JAAS across the whole of my EAR file containing multiple wars.
I have successfuly set it up on each war, but that means when the user is ... |
RBAC is well understood, so this is beyond RBAC.
Looking for an efficient/tested approach to deal with attribute, or domain, based security such that a principal may have N attributes (with N ... |
I got hand-written security, simple servlet-filter which redirect not-authorized user to their login pages. Login controller redirect them to the requested URL after successfull authentication or their main page. This approach ... |
The J2EE Application implementation will propagate credential to EJBContext automatically. It only includes user name instead of password, right? What's the standard way to propagate for non-J2EE system? I ... |
i decided to write my own JAAS login module. So far everything works fine, yet there is something i can't google out. Assume the login function by LoginContext has successfuly authenticated ... |
I want to protect my JSF pages in a Java EE 6 app.
I want to store users and roles in the DB and have privileged users administer them via ... |
The following code snippet, sourced from Core Java Vol 2 (7th Ed), shows how to create an SHA1 and an MD5 fingerprint using Java.
It turns out that the only ... |
I have two Web services based on SLSB, and I want to access one with encrypted password and second with not encrypted password. I'm using JAAS for authentication.
In Jboss 5.0.0 there ... |
I need to get the caller's user name in a SLSB using JBoss AS 6. Therefore, I passed it to the InitialContext like this:
Context ctx = new InitialContext();
String userName = System.getProperty("user.name");
ctx.addToEnvironment(Context.SECURITY_PRINCIPAL, ...
|
In our application we need to let user select the desired datasource when logging in with form-based authentication, and I'm not sure if it's at all possible when using standard form-based ... |
|