Gerson Samaniego [
https://community.jboss.org/people/gersonjohan] 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/763308#763308
--------------------------------------------------------------
I have my own SimplePrincipal and SimpleGroup classes. I solved the problem implementing
equal method as it does JBoss in SimplePrincipal:
**if** (!(another *instanceof* Principal)) {
** return** *false*;
}
String anotherName = ((Principal) another).getName();
**boolean** equals = **false**;
**if** (name == **null**){ equals = anotherName ==
**null**;}
**else**
{equals =
name.equals(anotherName);}
**return** equals;
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/763308#763308]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]