env.put( Context.SECURITY_AUTHENTICATION, authentication );
    private String getAuthentication( Hashtable env )    {        String authentication;        Object value = env.get( Context.SECURITY_AUTHENTICATION );        if( value == null )        {            authentication = "none";        }        else        {            authentication = value.toString();        }        return authentication;    }