[JBoss-user] [HTTPD, Servlets & JSP] - Re: Where is Tomcat Admin and Manager webapps?

2004-03-21 Thread starksm
You would have to get them from the tomcat download. We have our own jmx admin console so we don't use these and I don't even know if they will work. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826747#3826747";>View the original post http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [Security & JAAS/JBoss] - Re: Tomcat SSL does not work on Windows but fine on Unix/Lin

2004-03-21 Thread starksm
Validate that the keystore file is valid on windows using the keytool to print the server cert. If its valid, enable debugging of the jsse layer by adding the -Djavax.net.debug=all system property to the run.bat command line or by setting the JAVA_OPTS="-Djavax.net.debug=all" env variable. http

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB security propagation issue when moving from JBoss 3.

2004-03-21 Thread starksm
The descriptors won't be of any help. You have to post the full stack trace of the security exception to see what invocation layers are involved. If you have an example ear that demonstrates the problem create bug report on sourceforge and attach the ear to the report. http://www.jboss.org/ind

[JBoss-user] [Security & JAAS/JBoss] - Re: which keystore certificate for ssl

2004-03-21 Thread starksm
You can specify a keyAlias attribute on the connector to choose a specific key, else the key will be choosen based on the first key that matches the ssl handshake parameters. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826743#3826743";>View the original post http://www.jboss.org

[JBoss-user] [Beginners Corner] - Re: Applets in JBOSS

2004-03-21 Thread starksm
Put the applet classes in a jar under webmod.war and do not use a codebase. Specify the jar via the archive attribute. This is how the web-console.war applet is deployed: | | ... | | http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826739#3826739";>View the original post h

[JBoss-user] [Clustering/JBoss] - Re: Client Access of Master Singleton Node

2004-03-21 Thread starksm
JBossCache supports clustering, although its not clear how this is an approriate replacement for a singleton. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826738#3826738";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826738>Reply to the

[JBoss-user] [Clustering/JBoss] - Re: Client Access of Master Singleton Node

2004-03-21 Thread starksm
Yes, you will have to track this, or your singleton service can create a link to the RMIAdaptor under a unqiue JNDI name such that when a client looks this up through HA-JNDI, it finds the RMIAdaptor on the same node as the singleton. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JasperException to view Jsp pages by web access

2004-03-21 Thread starksm
This also occurs if the javac compiler is not on the jboss server classpath. This is typically found in the jre/lib/tools.jar. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826734#3826734";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826

[JBoss-user] [News & Announcements] - Serverless JMS Prototype

2004-03-19 Thread starksm
A serverless jms prototype has been made available from the JBoss sourceforge project site: http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=26210&release_id=224938 Discussion should take place in the Messaging, JMS & JBossMQ forum or the JMS on JBoss (JMS/JBoss) depending

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Multicast JMS

2004-03-19 Thread starksm
The serverless jms release has also been made availble from the JBossMQ section of the sourceforge JBoss project page: http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=26210&release_id=224938 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826628#3826628";>View

[JBoss-user] [Security & JAAS/JBoss] - Re: How to handle dynamic authorization?

2004-03-19 Thread starksm
Your hook is the interception of the ejb method call. You can do whatever you want to determine who the caller is. You cannot change the roles assigned to the user at authentication time. You permission access based on the derivced manager role and either allow the call or fail it with a Securit

[JBoss-user] [Security & JAAS/JBoss] - Re: How to handle dynamic authorization?

2004-03-19 Thread starksm
If the security check depends on the data coming in with the call then you really need to use a custom security interceptor. This can be handled by the current custom security proxy, or via your own custom security interceptor. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826595#38

[JBoss-user] [Management, JMX/JBoss] - Re: problem with remote client jmx nofications via rmi

2004-03-19 Thread starksm
Yes, I just fixed this for the 3.2.4RC2 or 3.2.4 relase, whichever comes first. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826589#3826589";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826589>Reply to the post ---

[JBoss-user] [Management, JMX/JBoss] - Re: from session bean to invoke mbean's method

2004-03-19 Thread starksm
Look up the MBeanServer via the MBeanServerFactory and invoke away. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826588#3826588";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826588>Reply to the post ---

[JBoss-user] [Installation & Configuration] - Re: ClassCastException when JBoss configures Log4j

2004-03-16 Thread starksm
This is why the use of singletons/static blocks in frameworks used by application code is bad. The org.apache.log4j.LogManager is reloading the conf/log4j.xml file and is loading jboss specific appenders which have already been linked against the log4j classes loaded outside of the ear. Set the

[JBoss-user] [Installation & Configuration] - Re: ClassCastException when JBoss configures Log4j

2004-03-16 Thread starksm
Show the full exception stack trace http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825941#3825941";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825941>Reply to the post --- This SF.Net

[JBoss-user] [Security & JAAS/JBoss] - Re: j2ee.clientName in jndi.properties

2004-03-16 Thread starksm
You appears to be trying to use the java: context in the client without correctly setting up the j2ee app client, including the application-client.xml descriptor. Try showing some details of the jndi usage causing the problem. The java: context is not usable by clients unless there as been an ap

[JBoss-user] [Installation & Configuration] - Re: classloader error

2004-03-16 Thread starksm
This was fixed in the 3.2.4RC1 release by scoping the web console jars. Download this release to see how it was done as the same setup can be applied to 3.2.3. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825937#3825937";>View the original post http://www.jboss.org/index.html?modul

[JBoss-user] [Management, JMX/JBoss] - Re: Unexpected Shutdown of JBoss

2004-03-15 Thread starksm
If your running with the HA-JNDI service then the shutdown.sh lookup of the RMIAdaptor will fail to find the localhost JNDI service after the shtudown of the first instance, and will do a discovery broadcast to find an HA-JNDI service and will discover the remote node and issue a shutdown agains

[JBoss-user] [Security & JAAS/JBoss] - Re: how to set system property

2004-03-15 Thread starksm
No, jboss uses its only configuration implementation that parses the login-config.xml file. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825861#3825861";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825861>Reply to the post -

[JBoss-user] [Management, JMX/JBoss] - Re: RemoteMBeanServer.addNotificationListener hangs for a wh

2004-03-15 Thread starksm
Sounds like an address resolution issue. Take thread dumps of the two sides to see where the delay appears to be. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825830#3825830";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825830>Reply to

[JBoss-user] [Management, JMX/JBoss] - Re: Unexpected Shutdown of JBoss

2004-03-15 Thread starksm
Not without a jboss version and how the shutdown is being performed. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825829#3825829";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825829>Reply to the post --

[JBoss-user] [Management, JMX/JBoss] - Re: New Web Console Features

2004-03-15 Thread starksm
No. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825828#3825828";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825828>Reply to the post --- This SF.Net email is sponsored by: IBM Linu

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JBoss 3.2.3, Tomcat 4.1.29 NoClassDefFoundError

2004-03-15 Thread starksm
There is a conflict with the version of jdom you compiled against that the jdom.jar found in jboss-3.2.3/lib/jdom.jar. Try replacing this with your version of jdom, or add a jboss-web.xml to your war to override the jboss version of the classes. mydomain:war=mywar.war

[JBoss-user] [HTTPD, Servlets & JSP] - Re: how embed tomcat5 in jboss3.x

2004-03-15 Thread starksm
jboss-3.2.4RC1 uses tomcat5 by default now. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825827#3825827";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825827>Reply to the post --- Thi

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Problem Verifying WAR Using Log4J on 3.2.3

2004-03-15 Thread starksm
There is a conflict with the loaded log4j.jar version coming from somewhere. If your bundling your own log4j.jar in the web and need this version, then you have to enable class loader overrides using a jboss-web.xml setup like: | | | | jboss.test:war=log4j113.war

[JBoss-user] [HTTPD, Servlets & JSP] - Re: SSL and VirtualHosts

2004-03-15 Thread starksm
You would have to define multiple Service elements, one per SSL connector with a different server certificate. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825823#3825823";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825823>Reply to th

[JBoss-user] [HTTPD, Servlets & JSP] - Re: RMI Exception

2004-03-15 Thread starksm
You are either using an incorrect IntialContext environment or have included a jndi.properties file that is incorrect to see the naming exception shown. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825822#3825822";>View the original post http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Installation & Configuration] - Re: Configuring JNDI over HTTP

2004-03-15 Thread starksm
you missing the jbossall-client.jar from your classpath. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825821#3825821";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825821>Reply to the post --

[JBoss-user] [Security & JAAS/JBoss] - Re: Problems with FORM Authentication

2004-03-15 Thread starksm
You have added no new information in the last few additions to this thread, so try showing the server.log messages from the login. To get more out of the security layer enable trace level logging and ensure the server.log FILE appender does not have a Threshold setting. | | |

[JBoss-user] [Security & JAAS/JBoss] - Re: Any documentations for jboss/tomcat single sign on??

2004-03-15 Thread starksm
It was in 3.2.3, try it out. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825816#3825816";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825816>Reply to the post --- This SF.Net email

[JBoss-user] [Security & JAAS/JBoss] - Re: jaas login propagation

2004-03-15 Thread starksm
No, the JAAS login needs to be triggered by the web container. Anything is possible with sufficiently deep integration with tomcat, but this is a non-trivial customization. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825815#3825815";>View the original post http://www.jboss.org/i

[JBoss-user] [Security & JAAS/JBoss] - Re: How do i get access to httpsession using JAAS login modu

2004-03-15 Thread starksm
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825696#3825696 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825817#3825817";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825817>Reply to the post

[JBoss-user] [Security & JAAS/JBoss] - Re: custom login module using AbstractServerLoginModule

2004-03-15 Thread starksm
The AbstractServerLoginModule.loginOk field must be set to true in order for commit to do anything as documented in the javadoc. The setting of the TRACE level is incorrect, use: | | | | http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825813#3825813";>View

[JBoss-user] [Installation & Configuration] - Re: log4j.xml and output from a JBoss class

2004-03-15 Thread starksm
You have commented out the FILE appender, and the CONSOLE appender has a threshold of INFO, so there will be no output to server.log at any threshold. Try checking your server.log timestamps next time. | | | | | http://www.jboss.org/index.html?module=bb&op=vie

[JBoss-user] [Security & JAAS/JBoss] - Re: Any documentations for jboss/tomcat single sign on??

2004-03-15 Thread starksm
It was available in 3.2.3 as described in this post: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=45801 jbossweb-tomcat50.sar/server.xml has a similar valve to uncomment: | | http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825761#3825761";>View the original

[JBoss-user] [Security & JAAS/JBoss] - Re: configuring UsersPassword login module

2004-03-15 Thread starksm
The read about configuration of the class loader architecture to see the options for deployment visibility. There is an excerpt from the 3.0.7 admin/devl guide here: http://sourceforge.net/docman/display_doc.php?docid=14516&group_id=22866 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3

[JBoss-user] [Security & JAAS/JBoss] - Re: configuring UsersPassword login module

2004-03-15 Thread starksm
Your login-config.xml is invalid. The module-option elements need to be child elements of login-module. Just indenting them does not make this so. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825713#3825713";>View the original post http://www.jboss.org/index.html?module=bb&op=posti

[JBoss-user] [News & Announcements] - Defective jmx-console.war/inspectMBean.jsp page

2004-03-14 Thread starksm
There is a problem with the 3.2.4RC1 jmx-console.war/inspectMBean.jsp page that prevents one from inspecting MBeans. A replacement is available from the sourceforge download section. The inspectMBean.jsp fix location is also shown here: http://prdownloads.sourceforge.net/jboss/inspectMBean.jsp?

[JBoss-user] [Connectors and JCA/JBoss] - Re: CorbaNamingService IOR at Runtime

2004-03-14 Thread starksm
No. Its printed out as an INFO level message, but we should be maing it available via JMX. 12:35:25,541 INFO [CorbaNamingService] Naming: [IOR:002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E32006C0001020F36342E32

[JBoss-user] [Security & JAAS/JBoss] - Re: Container idependent JAAS Login Module

2004-03-14 Thread starksm
Its not possible as the way JAAS is used to perform authentication/authorization is not defined by the J2EE specs. J2EE 1.4 introduces a new authorization contract, but still does not define how authentication using JAAS is performed. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825

[JBoss-user] [Security & JAAS/JBoss] - Re: LdapLoginModule & search scope

2004-03-14 Thread starksm
To authenticate with a login username of user1, a principalDNPrefix='uid=' and a principalDNSuffix='ou=Group1,ou=People,dc=mycompany,dc=com' is required. Configurations based on users is not supported by the LdapLoginModule so your schema is not supported since users are not under a single conte

[JBoss-user] [Security & JAAS/JBoss] - Re: Help - can't access user roles in LDAP

2004-03-14 Thread starksm
For the config you show, you would need a binding like the following for fsmit to the seen in the Member_admin role: | dn: cn=Member_admin,ou=Roles,dc=iqtech,dc=pl | objectClass: top | objectClass: groupOfUniqueNames | cn: Member_admin | uniqueMember: uid=fsmith,ou=People,dc=iqtech,dc=

[JBoss-user] [Security & JAAS/JBoss] - Re: Making a login form

2004-03-14 Thread starksm
Access to the getUserPrincipal does not depend on the auth method used. It works for basic and form auth. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825553#3825553";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825553>Reply to the pos

[JBoss-user] [Security & JAAS/JBoss] - Re: configuring UsersPassword login module

2004-03-14 Thread starksm
Works fine for me. I have moved the files to the conf directory, renamed them jmx-users.properties, jmx-roles.properties to make sure only these would be used, and secured the jmx-console using the following login-config.xml entry: | | | | jmx-users.

[JBoss-user] [Advanced Documentation] - Re: Is ComponentSource Serving JBoss Well?

2004-03-13 Thread starksm
We are in the process of taking over the fulfillment oursevles. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825524#3825524";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825524>Reply to the post ---

[JBoss-user] [Installation & Configuration] - Re: Tracing class loading

2004-03-13 Thread starksm
>From listing 2.9, page 66 of the admin devl guide: | | | | | | | | | | | | http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825523#3825523";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [News & Announcements] - JBoss-3.2.4RC1 Released

2004-03-12 Thread starksm
The jboss-3.2.4RC1 release is available here: http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=223319 Change notes are here: http://sourceforge.net/docman/display_doc.php?docid=21888&group_id=22866 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3

[JBoss-user] [Installation & Configuration] - Re: client-deployer-service.xml (what is it for?)

2004-03-12 Thread starksm
Its the J2EE application client deployer service which handles the ear META-INF/application-client.xml descriptors. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825397#3825397";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825397>Reply

[JBoss-user] [Security & JAAS/JBoss] - Re: org.jboss.jmx.interfaces.RMIConnector;

2004-03-12 Thread starksm
There is no RMIConnector interface. There is an org.jboss.jmx.adaptor.rmi.RMIAdaptor interface in the jbossall-client.jar. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825395#3825395";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825395>

[JBoss-user] [Security & JAAS/JBoss] - Re: Making a login form

2004-03-12 Thread starksm
| import java.security.Principal; | | public class SnoopServlet extends HttpServlet | { |protected void doGet(HttpServletRequest request, HttpServletResponse response) | throws ServletException, IOException |{ | // getUserPrincipal returns non-null only when t

[JBoss-user] [Management, JMX/JBoss] - Re: How to anotate params in an mbean method (so jmx console

2004-03-11 Thread starksm
You need to use a DynamicMBean to supply this information. The JBoss XMBean is the easiest way to to this. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825278#3825278";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825278>Reply to the p

[JBoss-user] [Security & JAAS/JBoss] - Re: Failed to lookup(srp/SRPServerInterface)

2004-03-09 Thread starksm
The jndi properties needed to connect to the server need to be passed in as SRPLoginModule options. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824899#3824899";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824899>Reply to the post --

[JBoss-user] [Security & JAAS/JBoss] - Re: SSL - securityDomainName

2004-03-09 Thread starksm
The coyote connector does not support any ssl socket factory other than its own so the keystore approach is the only way to configure ssl. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824898#3824898";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=

[JBoss-user] [Security & JAAS/JBoss] - Re: jaas auth and keystore

2004-03-09 Thread starksm
The keystore deals with string aliases. Using the Principal.getName() as the alias in the keystore solves this. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824897#3824897";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824897>Reply to t

[JBoss-user] [Security & JAAS/JBoss] - Re: Configuring login_config.xml

2004-03-09 Thread starksm
The login-config.xml file has an error in it that will be logged to the server.log at debug level. The exception here results when the file is parsed as a sun text file format due to the previous xml error. Check the server.log for the xml format problem. http://www.jboss.org/index.html?module=b

[JBoss-user] [Security & JAAS/JBoss] - Re: HELP !!!!!Custom Principal in request.getUserPrincipal()

2004-03-07 Thread starksm
See the following topic: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=45724 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824604#3824604";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824604>Reply to the post --

[JBoss-user] [Security & JAAS/JBoss] - Re: jaas auth and keystore

2004-03-07 Thread starksm
If you write the jca adaptor you can. We have no jca adaptor which performs this function. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824603#3824603";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824603>Reply to the post --

[JBoss-user] [Datasource Configuration] - Re: JDBC MBean without JAAS authentication

2004-03-07 Thread starksm
The jboss-3.2.3/docs/examples/jca/postgres-ds.xml shows this configuration. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824601#3824601";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824601>Reply to the post ---

[JBoss-user] [Security & JAAS/JBoss] - Re: exclusions to in web.xml

2004-03-07 Thread starksm
No, you have to arrange the web site urls into secured and unsecured sections as you cannot exclude urls from a resource collection. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824599#3824599";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [Security & JAAS/JBoss] - Re: getUserPrincipal() not returning the expected value

2004-03-07 Thread starksm
A custom principal is used in the tomcat layer as of 3.2.4RC1 is the login module provides a group named CallerPrincpal that contains the custom principal. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824597#3824597";>View the original post http://www.jboss.org/index.html?module=b

[JBoss-user] [EJB/JBoss] - Re: Using java.lang.Character in env-entry fails ...

2004-03-06 Thread starksm
Yes, its a type that was not being handled. This has been corrected for 3.2.4RC1. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824545#3824545";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824545>Reply to the post -

[JBoss-user] [Installation & Configuration] - Re: JBoss3.2.3 source build fails on Redhat Linux but works

2004-03-06 Thread starksm
You need the java command in your PATH for javacc for some reason. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824535#3824535";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824535>Reply to the post

[JBoss-user] [Performance Tuning] - Re: deployment slow on 3.2.3 - how to disable mbean xml.vali

2004-03-06 Thread starksm
For the XMBean represented by the xml descriptor there is no path for specifying the mbean.metadata.xml.validate property. I'll look into the perf issue some more, but the xerces parser shipped with 3.2.3 is the one bundled with an old xalan xalan-j_2_4_D1 release and definitely has performance

[JBoss-user] [Security & JAAS/JBoss] - Re: Where is LoginInitialContextFactory?

2004-03-05 Thread starksm
All the LoginInitialContextFactory does is encapsulate the JAAS login into the InitialContext creation. This class is in the server/default/lib/jbosssx.jar. See the JAAS Howto post on the top of the forum for more into on the client side login process. http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Security & JAAS/JBoss] - Re: multiple authentication mechanism

2004-03-05 Thread starksm
I'm not following your question here, but if you security model does not fit into the standard role to uri based access model, you'll have to implement a custom model using filters and/or tomcat valves. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824419#3824419";>View the original

[JBoss-user] [Security & JAAS/JBoss] - Re: Hierachy of Jaas Roles

2004-03-05 Thread starksm
No, you would have to create your own login module which created a java.security.acl.Group implementation named 'Roles' which support this via its isMember(Principal) method. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824417#3824417";>View the original post http://www.jboss.org/

[JBoss-user] [Security & JAAS/JBoss] - Re: logout with multiple credentials.

2004-03-05 Thread starksm
Logout is called when the cache entry is dropped so that the LoginModule which populated the associated Subject can to cleanup or tracking or whatever. There is no other mechanism that triggers a LoginModule logout on the server side. If you want access to the cache, supply your own cache implem

[JBoss-user] [Installation & Configuration] - Re: virtual directories in JBoss - possible?

2004-03-05 Thread starksm
Works fine for me. See the description in the following FAQ entry: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824409#3824409 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824410#3824410";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=

[JBoss-user] [Frequently Asked Questions (FAQ)] - Re: setting up a virtual host with 3.2.3 (without Apache)

2004-03-05 Thread starksm
As described in the admin/devl guide, do the following. Step 1: Define the hosts in the jbossweb-tomcat41.sar/META-INF/jboss-service.xml Config attribute fragment: | | | | | | | |

[JBoss-user] [Installation & Configuration] - Re: OutOfMemoryError while sitting doing nothing

2004-03-05 Thread starksm
There have been reports of leaks with the ibm vm and opennms. Remove the snmp-adaptor.sar from the deploy directory to disable the service shown in the stack trace. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824400#3824400";>View the original post http://www.jboss.org/index.html

[JBoss-user] [Installation & Configuration] - Re: jboss-3.2.3.gz and not jboss-3.2.3.tgz?

2004-03-05 Thread starksm
There is no jboss-3.2.3.gz. There is a jboss-3.2.3.bz2 which when bunzip2 produces a tar file that is missing the .tar extension. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824389#3824389";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [HTTPD, Servlets & JSP] - Re: webapp redeployment fails with

2004-03-04 Thread starksm
There is a bug report on this on sourceforge: http://sourceforge.net/tracker/index.php?func=detail&aid=909473&group_id=22866&atid=376685 When someone can actually provide a testcase which demonstrates the problem progress on this issue can be made. The NPE is due to something holding on to the Cl

[JBoss-user] [Installation & Configuration] - Re: org.apache.jasper.JasperException: Unable to compile cla

2004-03-04 Thread starksm
This occurs when JAVA_HOME points to a JRE which does not have the required javac compiler. You need JAVA_HOME pointing to a JDK installation. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824273#3824273";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&

[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamically adding LoginModules

2004-03-04 Thread starksm
You cannot override/change existing configurations. You can only add new ones on startup of the service with removal on shutdown of the server. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824241#3824241";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&

[JBoss-user] [Installation & Configuration] - Re: Possible bug in JBoss 3.2.3

2004-03-04 Thread starksm
This occurs when another deployment is using stale classes from deployment which has been replaced. In this case, the jdbc driver container deployment has presumably been redeployed which the datasource configuration has not. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824236#38242

[JBoss-user] [Security & JAAS/JBoss] - Re: Non-EJB security

2004-03-03 Thread starksm
JMX has no meanignful security contract so your on your own and living outside of the spec. The admin/devl guide talks about using the XMBean impl of the ModelMBean to add security on top of a service. See the testsuite/src/resource/jmx/interceptors/secured-xbmean.xml descriptor for another exa

[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamically adding LoginModules

2004-03-03 Thread starksm
Use the recently added 3.2 DynamicLoginConfig service: jboss-service.xml: | | | | META-INF/jaas-test-config.xml | | jboss.security:service=XMLLoginConfig | | | | | http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824083

[JBoss-user] [Security & JAAS/JBoss] - Re: getting Custom Principal in EJBContext.getCallerPrincipa

2004-03-03 Thread starksm
I added a test of getting the user principal from the web request and it did have a problem with returning the customer CallerPrincipal value. This has been fixed for the 3.2.4RC1 release. The code changed was in the org.jboss.web.tomcat.security.JBossSecurityMgrRealm class. http://www.jboss.o

[JBoss-user] [Security & JAAS/JBoss] - Re: getting Custom Principal in EJBContext.getCallerPrincipa

2004-03-03 Thread starksm
You don't appear to be setting the groups correctly. This fixed version works fine with my ejb testcase: | package org.jboss.test.security.ejb; | | import java.security.acl.Group; | import javax.security.auth.login.LoginException; | import org.jboss.security.auth.spi.UsernamePasswordL

[JBoss-user] [Security & JAAS/JBoss] - JAAS Howto

2004-03-03 Thread starksm
For an introduction to the use of JAAS in JBoss, see the following article: http://sourceforge.net/docman/display_doc.php?docid=18240&group_id=22866 You should read this if you are having security issues related to JAAS configurations. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824

[JBoss-user] [Security & JAAS/JBoss] - Re: Serious login problem

2004-03-03 Thread starksm
anonymous wrote : The question is 'can' or really propagates?? Its depends on whether a thread pool is used and if the entry point resets the security associated based on the caller. anonymous wrote : But I couldn't find what the method set(null) from ThreadLocal really do?? There is no info i

[JBoss-user] [Security & JAAS/JBoss] - Re: custom loginmodule concurrent logins

2004-03-03 Thread starksm
You currently cannot. See: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=45863 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823987#3823987";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823987>Reply to the post ---

[JBoss-user] [Security & JAAS/JBoss] - Re: LDAP Login Help

2004-03-03 Thread starksm
You cannot set the java.security.auth.login.config system property to pickup a the JAAS config. You have to use the server/xxx/conf/login-config.xml version. See the JAAS howto: http://sourceforge.net/docman/display_doc.php?docid=18240&group_id=22866 http://www.jboss.org/index.html?module=bb

[JBoss-user] [Security & JAAS/JBoss] - Re: redirect to favicon after login?

2004-03-03 Thread starksm
Show the image tag for the favico.ico icon and indicate the jboss version. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823983#3823983";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823983>Reply to the post

[JBoss-user] [Security & JAAS/JBoss] - Re: Security flaw in JBoss ?

2004-03-03 Thread starksm
I don't use eclipse, so try the JBossIDE forum. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823982#3823982";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823982>Reply to the post ---

[JBoss-user] [Security & JAAS/JBoss] - Re: how to get jboss-web.xml element value?

2004-03-03 Thread starksm
There is a link to the web security manager under the name "java:comp/env/security/security-domain". If you want the security manager you can look it up: | import org.jboss.security.SubjectSecurityManager; | |InitialContext ctx = new InitialContext(); |Context envCtx = (Context

[JBoss-user] [Security & JAAS/JBoss] - Re: authentication from MDB

2004-03-03 Thread starksm
Read the following JAAS howto: http://sourceforge.net/docman/display_doc.php?docid=18240&group_id=22866 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823978#3823978";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823978>Reply to the post

[JBoss-user] [Security & JAAS/JBoss] - Re: how to configure non defeault application policy

2004-03-03 Thread starksm
Try reading the following JAAS howto: http://sourceforge.net/docman/display_doc.php?docid=18240&group_id=22866 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823976#3823976";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823976>Reply to the

[JBoss-user] [Security & JAAS/JBoss] - Re: getting Custom Principal in EJBContext.getCallerPrincipa

2004-03-03 Thread starksm
You have to provide your custom Principal as the "CallerPrincipal" binding in the Subject. The testcase for the custom principal uses a login config of: | | | | anonymous | org.jboss.test.security.ejb.CustomPrincipalImpl |

[JBoss-user] [EJB/JBoss] - Re: EJB versioning

2004-03-03 Thread starksm
JBoss has a flat default class loading model described here: http://sourceforge.net/docman/display_doc.php?docid=14516&group_id=22866 If you are deploying multiple versions of the same classes in an ear, you need to isolate the classes using an ear/META-INF/jboss-app.xml descriptor with a unique

[JBoss-user] [J2EE Compliance] - Re: ejb restrictions ignored by JBoss???

2004-03-02 Thread starksm
Correct. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823819#3823819 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823819 --- SF.Net is sponsored by: Speed Start

[JBoss-user] [Security & JAAS/JBoss] - Re: Security flaw in JBoss ?

2004-03-02 Thread starksm
Without a specfication and configuration of a security-domain in a jboss.xml descriptor there is no security. Validate that the eclipse plugin in correctly configuring the jboss.xml descriptor. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823814#3823814 Re

[JBoss-user] [Security & JAAS/JBoss] - Re: getting Custom Principal in EJBContext.getCallerPrincipa

2004-03-02 Thread starksm
Look at the jboss codebase for the org.jboss.security.auth.spiUsersRolesLoginModule and its base class org.jboss.security.auth.spi.UsernamePasswordLoginModule in the jboss-3.2/security/src/main tree for the commit behavior used with the example testcase. It will take 24 hours for this code to be

[JBoss-user] [Security & JAAS/JBoss] - Re: getting Custom Principal in EJBContext.getCallerPrincipa

2004-03-01 Thread starksm
This works fine for me. I have updated the UsernamePasswordLoginModule baseclass to support an external Principal implementation and added a testcase that uses a custom principal class and this is seen as the ejb getCallerPrincipal type: | public class CustomPrincipalBean implements SessionBe

[JBoss-user] [Datasource Configuration] - Re: Datasource passwords showing in server.log

2004-03-01 Thread starksm
There is no setting that will prevent this. The properties that are dumped needs to have the password masked. This will be added for the 3.2.4RC1 release. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823661#3823661 Reply to the post : http://www.jboss.org/

[JBoss-user] [J2EE Compliance] - Re: ejb restrictions ignored by JBoss???

2004-03-01 Thread starksm
The enforce-ejb-restriction never has had any effect. You would have to run with a security manager and configure the permissions to disallow this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823603#3823603 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [Installation & Configuration] - Re: Service of a EAR

2004-03-01 Thread starksm
Dependencies do not affect when components are created. The service either needs to be moved into the ear or the service classes moved out of the ear. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823605#3823605 Reply to the post : http://www.jboss.org/inde

[JBoss-user] [Security & JAAS/JBoss] - Re: How to get Caller Principal in plain Java class

2004-03-01 Thread starksm
You can't. There is no standard way for accessing the caller of a component other than the ejb context. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823602#3823602 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=382360

[JBoss-user] [Security & JAAS/JBoss] - Re: Doubts in JAAS

2004-03-01 Thread starksm
Read the following JAAS Howto: https://sourceforge.net/docman/display_doc.php?docid=18240&group_id=22866 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823600#3823600 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38236

  1   2   >