/* * Decompiled with CFR 0.152. * * Could not load the following classes: * javax.baja.sys.Context * javax.baja.sys.Sys * javax.baja.sys.Type * javax.baja.user.AuthenticateUtil * javax.baja.user.BUser * javax.baja.user.BUserService */ package com.tridium.fox.sys; import com.tridium.fox.session.FoxSession; import com.tridium.fox.sys.BFoxDefaultAuthAgent; import com.tridium.fox.sys.BIFoxAuthAgent; import javax.baja.sys.Context; import javax.baja.sys.Sys; import javax.baja.sys.Type; import javax.baja.user.AuthenticateUtil; import javax.baja.user.BUser; import javax.baja.user.BUserService; /* * Illegal identifiers - consider using --renameillegalidents true */ public class BFoxUsernamePasswordAuthAgent extends BFoxDefaultAuthAgent implements BIFoxAuthAgent { public static final BFoxUsernamePasswordAuthAgent INSTANCE = new BFoxUsernamePasswordAuthAgent(); public static final Type TYPE; static /* synthetic */ Class class$com$tridium$fox$sys$BFoxUsernamePasswordAuthAgent; public Type getType() { return TYPE; } protected boolean authenticateBasic(FoxSession foxSession) throws Exception { return super.authenticateBasic(foxSession); } protected boolean authenticateDigest(FoxSession foxSession) throws Exception { return super.authenticateDigest(foxSession); } protected BUser authenticateUser(BUserService bUserService, String string, String string2, Context context) { return AuthenticateUtil.authenticateUsernameAndPassword((String)string, (String)string2, (BUserService)bUserService, (Context)context); } static /* synthetic */ Class class(String string, boolean bl) { try { Class clazz = Class.forName(string); if (!bl) { clazz = clazz.getComponentType(); } return clazz; } catch (ClassNotFoundException classNotFoundException) { throw new NoClassDefFoundError(classNotFoundException.getMessage()); } } static { Class clazz = class$com$tridium$fox$sys$BFoxUsernamePasswordAuthAgent; if (clazz == null) { clazz = class$com$tridium$fox$sys$BFoxUsernamePasswordAuthAgent = BFoxUsernamePasswordAuthAgent.class("[Lcom.tridium.fox.sys.BFoxUsernamePasswordAuthAgent;", false); } TYPE = Sys.loadType((Class)clazz); } }