/**
     * Retrieves the AuthorizationInfo for the given principals from the underlying data store.  When returning
     * an instance from this method, you might want to consider using an instance of
     * {@link SimpleAuthorizationInfo SimpleAuthorizationInfo}, as it is suitable in most cases.
     *
     * @param principals the primary identifying principals of the AuthorizationInfo that should be retrieved.
     * @return the AuthorizationInfo associated with this principals.
     * @see SimpleAuthorizationInfo
     */
@Override
    protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principals) {
        IdConstruct idConstruct = (IdConstruct) getAvailablePrincipal(principals);
        return getIOTAccount(idConstruct.getPartition(), idConstruct.getUsername());
    }
@Override
protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principals) {
IdConstruct idConstruct = (IdConstruct) getAvailablePrincipal(principals);
return getIOTAccount(idConstruct.getPartition(), idConstruct.getUsername());
}
@Override
protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principals) {
IdConstruct idConstruct = (IdConstruct) getAvailablePrincipal(principals);
return getIOTAccount(idConstruct.getPartition(), idConstruct.getUsername());
}
@Override
protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principals) {
IdConstruct idConstruct = (IdConstruct) getAvailablePrincipal(principals);
return getIOTAccount(idConstruct.getPartition(), idConstruct.getUsername());
}