219220221222223224225
Object credential = jbossSct.getUtil().getCredential(); Principal original = null; if(cachedAccount != null) { original = cachedAccount.getPrincipal(); } return new AccountImpl(userPrincipal, stringRoles, credential, original); }