public boolean authenticate(AuthToken token){
public boolean authenticate(AuthToken token, Message msg){
    public boolean authenticate(AuthToken token){        if((token != null) && (token instanceof SimpleToken)){            //Found a valid Token to authenticate against            SimpleToken serverToken = (SimpleToken) token;            if((this.token != null) && (serverToken.token != null) && (this.token.equalsIgnoreCase(serverToken.token))){                //validated                if(log.isDebugEnabled()){                    log.debug("SimpleToken match");                }                return true;            }else{                if(log.isWarnEnabled()){                    log.warn("Authentication failed on SimpleToken");                }                return false;            }        }        if(log.isWarnEnabled()){            log.warn("Invalid AuthToken instance - wrong type or null");        }        return false;    }