Multiple security-realms for remoting in JBoss AS 7 -
i have 2 applications (ears) deployed on jboss 7.1.3 server. want access beans both of these applications remote client using jndi. however, need password authentication 1 of applications, , want access other without authentication.
for first of applications defined custom security realm , set remoting-connectors security realm. corresponding code snippets of standalone.xml this:
security realm:
<security-realm name="customrealm"> <authentication> <jaas name="customdomain"/> </authentication> </security-realm>
remoting subsystem:
<subsystem xmlns="urn:jboss:domain:remoting:1.1"> <connector name="remoting-connector" socket-binding="remoting" security-realm="customrealm"/> </subsystem>
what specify second security realm (or better none @ all) second application. found pretty same question on jboss forum without answer solved problem.
is possible , if so, how can this? in advance.
its not possible due limitation of ejb remoting subsytem in as7. there issue opened on already.. https://issues.jboss.org/browse/as7-6367
did tried expose ejb webservie? way can use different realm.
Comments
Post a Comment