JBoss Community

Re: Every single remote ejb call starts full authentication process with SecurityDomain cache-type="default"

created by Daniel Jipa in JBoss AS 7 Development - View the full discussion

Attached is my full standalone.xml

 

I will also give a try with that stacktrace but it's quite clear that is something missing in my configurations that make those unnecessary calls.

 

My java code that does local calls looks like this:

 

 

@EJB
          PersistenceControllerLocal facade;
....
 
public void buttonClick(ClickEvent event) {
    try{
        Long accId = 28897012l;
                                          lbl.setCaption("created by: "
                                                                   + facade.get(AccountDebt.class, accId)
         }catch(Exception e){
     e.printStackTrace();     
}                                                                                 .getCreatedBy());
}
 

 

Every time I click the button my login module is getting called

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community