Hey Ben,
I got it the same way you proposed it, but I always get an ClassCastException.
What is wrong?
My Class:
package clara.bo.model;
import net.sf.acegisecurity.GrantedAuthority;
import...
Type: Posts; User: Johannes Hiemer; Keyword(s):
Hey Ben,
I got it the same way you proposed it, but I always get an ClassCastException.
What is wrong?
My Class:
package clara.bo.model;
import net.sf.acegisecurity.GrantedAuthority;
import...
Btw. Ben does the this tag also work with JSF?
Because two minutes ago I gave it a try and the tags was not rendered properly. Better: It seems to be that it was not recognized. The HTML-Tag output...
Hm okay next idea, you said you are using a homegrown MVC framework, could you tell me how you handle redirects in your framework?
In JSF for example I had the issue that the redirection didn't work...
Hi,
I am not sure, till yet I am not really an expert regarding acegi but what doesn't seem to be okay is that you don't get any authorities granted.
As I can see in your log:
Not granted...
From the documentation:
But perhaps you are using jsf or something different and need to populate the direction you want to on your own?
Do you use a different view technologie than plain jsp?...
Okay I found the problem in the table authorities there was missing the entry...
*ggrrr** :D
Thanks for all helping comments
Special thanks @ Johannens :lol:
Regards!
Hi kuato,
I made it similiar to your suggestion, but what's bothering me, is that I am still wondering how to solve a rememberme service?
Did you manage to get this working?
Thanks a lot
...
Hi,
I made some changes and switched back to the normal way like this:
<bean id="authenticationDao" class="net.sf.acegisecurity.providers.dao.jdbc.JdbcDaoImpl">
<property...
Issue fixed.
Hi,
I am trying to authenticate against table like this:
<bean id="jdbcDaoImpl"
class="net.sf.acegisecurity.providers.dao.jdbc.JdbcDaoImpl">
<property name="dataSource">
<ref...
Hi,
based on Victors blog, who is busy and has no time to respond I am trying to use his way he implemented the acegi login with jsf.
public class Login extends Base implements Serializable {...
Hi Victor,
as I posted in your blog, I don't understand one step in your bean.
Authentication authReq = getAuthenticationRequest();
I would be glad if you code post it.
Hi there,
I have got question regarding how and where to implement the
initilisation of SpringBeans in a JSF Application. Let me first please explain
my issue I got. I create the base DAOs and...
Hi,
to provide some help for people who got stuck in the same
situation, remember that "from Table" is case sensitive.
That was my fault.
Bye Johannes
Hi,
here it is:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">...
Hi,
I got a quite curious problem. I wrote a DAOTest to check if my DAO implementation works fine.
Code:
/**
* 23.05.2005
* 11:52:05
* johannes.hiemer
* SystemTypeDAOTest.java
Hey,
perhaps the following is a stupid question, but how do I manage the access to tables placed on an oracle databases?
Are there any articles about it?
Thanks in adavance
Johannes
Hi people out there,
I got a big problem, without knowing any solution.
I at the beginning of working with spring and started out with a small project
to get into that stuff.
Now I am, or I just...