Is there an API that I can use where I can give it a transport name (e.g. 
"http", "sslsocket", etc) and it returns true or false to indicate if its a 
secure transport and requires SSL configuration?  Something like:

boolean isSecuredBySSL(String transport);

If you have a remoting app that is running outside of a JBossAS container (and 
thus don't have the pretty way to configure things with the [mbean] element), 
but still want to be able to change transports via a configuration file, it 
would be nice to be able to force a fail-fast configuration error if a secure 
transport was specified but no SSL configuration properties were specified (for 
example - if no keystore exists I'd want to fail fast, rather than wait to be 
told when the connector is started).  If this API exists, this would be 
possible.

Today, you could do "if transport.startsWith("ssl") || 
transport.equals("https")" but that doesn't take into account any customized 
transports that are added to the registry during runtime.

InvokerRegistry looks like the class that would have this knowledge and would 
be where such an API lives, but it doesn't have it.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946117#3946117

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946117


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to