call sessionContext.getPrincipal().getName() in @PostConstruct annotated method in Weblogic 12c session EJB

前端 未结 0 1447
鱼传尺愫
鱼传尺愫 2021-01-07 04:52

Environment: Weblogic 12.2.13 with Java 8

@Stateless(name = "MyTestBean")
@Remote(MyTestRemote.class)

@DeclareRoles({ VIEW, MODIFY })
@RolesAllowed         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题