shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darin Gordon <dar...@gmail.com>
Subject Possible Issue - AtLeastOneRealmSuccessfulStrategy
Date Sun, 26 Apr 2015 12:34:49 GMT
within the execute method:

line 70 will append the first realm and its corresponding account a second
time

 61                 if (account != null) {

 62                     if (firstAccount == null) {

 63                         firstAccount = account;

 64                         firstAccountRealmName = realmName;

 65                     } else {

 66                         if (compositeAccount == null) {

 67                             compositeAccount = new
DefaultCompositeAccount();
 68
compositeAccount.appendRealmAccount(firstAccountRealmName, firstAccount);
 69                         }

 70                         compositeAccount.appendRealmAccount(realmName,
account);
 71                     }

 72                 }


-DG

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message