/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.identity.User
 *  com.l7tech.util.Functions$Unary
 */
package com.l7tech.server.policy.variable;

import com.l7tech.identity.User;
import com.l7tech.server.identity.AuthenticationResult;
import com.l7tech.util.Functions;

class ar
implements Functions.Unary<User, AuthenticationResult> {
    ar() {
    }

    public User call(AuthenticationResult authenticationResult) {
        if (authenticationResult == null) {
            return null;
        }
        return authenticationResult.getUser();
    }
}

