Thanks Danny, I missed that.
The following is what I needed:
Authentication userAuth = SecurityContextHolder.getContext().getAuthentication();
LdapUserDetails details =...
Type: Posts; User: jtp51; Keyword(s):
Thanks Danny, I missed that.
The following is what I needed:
Authentication userAuth = SecurityContextHolder.getContext().getAuthentication();
LdapUserDetails details =...
Everything is moving along smooth now, I appreciate everyone's help...
Staying on topic, I have the following:
Authentication userAuth =...
When I add the following to a constructor of my class:
Authentication userAuth = SecurityContextHolder.getContext().getAuthentication();
LdapUserDetails details = (LdapUserDetails)...
karldmoore: Here is my disconnect and most likely my own inflicted pain.
While I am using acegi-security, I am *not* using the Spring Framework. My project is a JSF project - so I followed the...
Thank you for the responses.
What I am trying to do is the following:
User A logs in with a username and password.
Username and password are authenticated against the LDAP tree.
On a...
I want to move the LdapAuthenticationProvider, FilterBasedLdapUserSearch and DefaultInitialDirContextFactory to Java code.
Would I put that in a Java Bean or what is the correct way to do that?
...
Michael: I was wondering if you were successful in your attempt to use JOSSO?
If you where, you would please provide your insight on how you made it work.
Thanks,
sunraider: I am not having this issue as well...
Your example is very similar to what I have, how did you solve your issue?
Thanks,
This is ridiculous.
Can anyone help me with this?
[DEBUG,AuthenticationProcessingFilter,http-8080-Processor24] Authentication request failed: org.acegisecurity.AuthenticationServiceException:...
For each log entry, it is entered twice. I am not for sure why, but is this something I can correct?
Thanks,
[DEBUG,FilterInvocationDefinitionSourceEditor,main] Detected...
How do I get a jndi connection pool in Tomcat 5.0.28 to work with acegi-security?
My context looks like:
<Context docBase="petroadmin" path="/petroadmin"
reloadable="true"...
I have this same issue.
Did you ever figure out a solution?
Thanks,
Server: Tomcat 5.5.17
IDE: Eclipse 3.2
The applicationContext.xml is in the /WEB-INF directory, why the heck am I getting this message?
Thanks,
--Todd
Is there benefits of using the Spring controller rather than the JSF controller?
I've been reading more and more about Spring, currently my project is JSF, ICEfaces running on Sun Java System...
The CAS 3.0.5 set-up instructions are decent, however in the documentation located at:
http://acegisecurity.org/docbook/acegi.html#cas-server-3
It mentions that I need to add the...
http://www.acegisecurity.org/docbook/acegi.html#cas refers to:
org.acegisecurity.adapters.cas3.CasAuthenticationHandler
Where is the org.acegisecurity.adapters.cas3?
Has...
I've exploded the acegi-security-sample-contacts-filter.war for acegi-security-1.0.1.
I've checked all three applicationContext.xml files and I don't see any set-up for CAS or single sign on...
...
Actually, I wasn't calling the AnonymousProcessingFilter as Luke noted.
That fixed the issue.
Thanks,
Kevin: thank you.
I actually figured it out just last night... But your example is greatly appreciated.
--Todd
First of all, thank you for the feedback, it has help a lot.
I've been working on this and each of the nine applications have their own applicationContext.xml, etc...
While I would had liked to...
I've updated my objectDefinitionSource value, by prefixing the files with /login:
<property name="objectDefinitionSource">
<value>
...
Currently I have a project that I can access at:
http://127.0.0.1:8080/login/
The files that I have are:
index.jsp - redirects to login.jsp
login.jsp - login form
/secured/app.jsp - main...
What is the difference between the objectDefinitionSource value:
/acegilogin.jsp*=ROLE_ANONYMOUS,ROLE_USER
verses
/acegilogin.jsp=ROLE_ANONYMOUS,ROLE_USER
By adding the asterisk (*) after...
I thought I could assign ROLE_ANONYMOUS to my login.jsp file?
I've been reading Chapter 14. Anonymous Authentication and I guess I don't understand the example.
The example has the following...
I've defined the following below. What is happening is, when I get a "HTTP Status 403 - Access is denied" the browser is not redirected to the errorPage value defined for the AccessDeniedHandlerImpl...