so, i need suggestions, pls, anyone can tell me if its possible with seam ? i need to log in /system1 and in another module like /system2 use the roles from system1/ like login at once and use these roles in all modules ? if i do it using
| <Realm className="org.apache.catalina.realm.DataSourceRealm" debug="99"
| dataSourceName="jdbc/authority"
| userTable="users" userNameCol="user_name" userCredCol="user_pass"
| userRoleTable="user_roles" roleNameCol="role_name"/>
|
can i use jboss EL like hasRole('anyRole') ? any suggestion ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098017#4098017
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098017
which ldap server are you using? Make sure you are using the supported ldap server as specified in the documentation. I assume you are using Jboss portal 2.6.1
I don't need to change anything in my login-config.xml. All you need to do is to change the connection using the ldap_identity-config.xml instead of using identity-config.xml
Then you need to modify this ldap_identity-config.xml to fit to your ldap server configuration. I think that's all you would need to do. Check the link that I posted for more info
SGM
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098016#4098016
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098016
Thank you Vishal, I am able to generate teh forms but now am getting an exception in generated forms.
javax.servlet.ServletException: Error Parsing /11/request entry.xhtml: Error Traced[line: 36] The value of attribute "value" associated with an element type "input" must not contain the '<' character.
javax.faces.webapp.FacesServlet.service(FacesServlet.java:249)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
I am trying to understand it.
Thanks a lot for your help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098012#4098012
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098012
I've taken a look at the integration being done with JBCache/Hibernate.
A few things come to mind:
1. Why is the integration so complex? There are 32 classes, whereas JBCache 1.4 and Hibernate integration was done with 2 classes. I'm thinking of "OptimisticTreeCache" and "TreeCacheProvider".
2. What are the risks with changing the existing integration classes to use the new JBCache API? I have done so, and I don't see any problems, though I haven't attempted anything under load.
Incidentally, is there a recommended eviction strategy (was there ever one?) to use with JBCache 2.0 and Hibernate. I did not see one with "hibernate-recommended-config.xml".
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098008#4098008
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098008
I am confused, in the code it is initialized to -1:
/**
| * The number of times a message will be redelivered after a recover or rollback.
| * The value <code>-1</code> means there is no configured limit.
| */
| public int redeliveryLimit =-1 ;
However, if you try to set it to -1 via jmx, it throws an exception:
public void setRedeliveryLimit(int limit)
| {
| if (limit < 0)
| throw new IllegalArgumentException("Negative redelivery limit: " + limit);
|
| parameters.redeliveryLimit = limit;
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098002#4098002
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098002