public void setPrincipals(PrincipalCollection principals) {
        this.principals = principals;
    }
Sets the identifying principal(s) represented by this instance.

@param principals the identifying attributes of the corresponding Realm account.
core/src/main/java/org/apache/shiro/authc/SimpleAuthenticationInfo.java