We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de406c4 commit 5543b2cCopy full SHA for 5543b2c
ejb/remote/roles-allowed/src/test/java/org/javaee8/ejb/remote/RemoteBeanTest.java
@@ -66,18 +66,12 @@ public void after() {
66
@Test
67
@RunAsClient
68
public void callProtectedRemoteBean() throws NamingException {
69
-
70
- try {
71
72
// Obtain the JNDI naming context in a vendor specific way.
73
Context ejbRemoteContext = remoteEJBContextProvider.getContextWithCredentialsSet("u1", "p1");
74
75
BeanRemote beanRemote = (BeanRemote) ejbRemoteContext.lookup("java:global/test/Bean");
76
77
assertEquals("method", beanRemote.method());
78
- } catch (Exception e) {
79
- e.printStackTrace();
80
- }
81
}
82
83
0 commit comments