[jboss-dev-forums] [JBoss AS 7 Development] - Re: Every single remote ejb call starts full authentication process with SecurityDomain cache-type="default"
Daniel Jipa
do-not-reply at jboss.com
Wed Apr 11 11:58:32 EDT 2012
Daniel Jipa [https://community.jboss.org/people/danjee] created the discussion
"Re: Every single remote ejb call starts full authentication process with SecurityDomain cache-type="default""
To view the discussion, visit: https://community.jboss.org/message/729416#729416
--------------------------------------------------------------
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
[https://community.jboss.org/message/729416#729416]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120411/8de3d988/attachment.html
More information about the jboss-dev-forums
mailing list