What if any changes are required to the appclientlogin.conf passed to the client application VM. My custom realm is an LDAP realm.
My ejb code is packaged as a jar file and deployed in glassfish. Here is my sun-ejb-jar.xml. I do not have a sun-application.xml
[code]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 EJB 3.0//EN" "
http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_0-0.dtd">
<sun-ejb-jar>
<security-role-mapping>
<role-name>user</role-name>
<group-name>clerks</group-name>
</security-role-mapping>
<security-role-mapping>
<role-name>power</role-name>
<group-name>manager</group-name>
</security-role-mapping>
<security-role-mapping>
<role-name>admin</role-name>
<group-name>admin</group-name>
</security-role-mapping>
<enterprise-beans>
<unique-id>0</unique-id>
<ejb>
<ejb-name>PermitServiceBean</ejb-name>
<jndi-name>
ejb/permit/stateless/PermitServiceBean
</jndi-name>
<ior-security-config>
<as-context>
<auth-method>USERNAME_PASSWORD</auth-method>
<realm>permit</realm>
<required>true</required>
</as-context>
</ior-security-config>
<gen-classes />
</ejb>
</enterprise-beans>
</sun-ejb-jar>
[code]
[Message sent by forum member 'r_sudh' (r_sudh)]
http://forums.java.net/jive/thread.jspa?messageID=248204