users@glassfish.java.net

RE: location of org.glassfish.api.admin.ParameterNames?

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Mon, 28 Jun 2010 10:51:01 -0400

Glassfish Devs:
here is what i did to resolve ParameterNames

dowloaded ParameterNames from NIST.gov

modified ParameterNames to work with GF and here is what i came up with

/*
 * Conditions Of Use
 *
 * This software was developed by employees of the National Institute of
 * Standards and Technology (NIST), an agency of the Federal Government.
 * Pursuant to title 15 Untied States Code Section 105, works of NIST
 * employees are not subject to copyright protection in the United States
 * and are considered to be in the public domain. As a result, a formal
 * license is not needed to use the software.
 *
 * This software is provided by NIST as a service and is expressly
 * provided "AS IS." NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
 * OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
 * AND DATA ACCURACY. NIST does not warrant or make any representations
 * regarding the use of the software or the results thereof, including but
 * not limited to the correctness, accuracy, reliability or usefulness of
 * the software.
 *
 * Permission to use this software is contingent upon your acceptance
 * of the terms of this agreement.
 *
 */
//package gov.nist.javax.sip.header;
package org.glassfish.api.admin;

/**
 * A list of commonly occuring parameter names. These are for conveniance so as
 * to avoid typo's
 *
 * @version 1.2 $Revision: 1.3 $ $Date: 2006/09/25 07:12:14 $
 * @since 1.1
 *
 * hacked for glassfish 3.x M. Gainty <br/>
 *
 *
 *
 */
public interface ParameterNames {
 public static final String CONTEXT_ROOT="CONTEXT_ROOT";

    public static final String NAME="ParameterNames";
 // Issue reported by larryb
 public static final String NEXT_NONCE = "nextnonce";

 public static final String TAG = "tag";

 public static final String USERNAME = "username";

 public static final String URI = "uri";

 public static final String DOMAIN = "domain";

 public static final String CNONCE = "cnonce";

 public static final String PASSWORD = "password";

 public static final String RESPONSE = "response";

 public static final String RESPONSE_AUTH = "rspauth";

 public static final String OPAQUE = "opaque";

 public static final String ALGORITHM = "algorithm";

 public static final String DIGEST = "Digest";

 public static final String SIGNED_BY = "signed-by";

 public static final String SIGNATURE = "signature";

 public static final String NONCE = "nonce";

 // Issue reported by larryb
 public static final String NONCE_COUNT = "nc";

 public static final String PUBKEY = "pubkey";

 public static final String COOKIE = "cookie";

 public static final String REALM = "realm";

 public static final String VERSION = "version";

 public static final String STALE = "stale";

 public static final String QOP = "qop";

 public static final String NC = "nc";

 public static final String PURPOSE = "purpose";

 public static final String CARD = "card";

 public static final String INFO = "info";

 public static final String ACTION = "action";

 public static final String PROXY = "proxy";

 public static final String REDIRECT = "redirect";

 public static final String EXPIRES = "expires";

 public static final String Q = "q";

 public static final String RENDER = "render";

 public static final String SESSION = "session";

 public static final String ICON = "icon";

 public static final String ALERT = "alert";

 public static final String HANDLING = "handling";

 public static final String REQUIRED = "required";

 public static final String OPTIONAL = "optional";

 public static final String EMERGENCY = "emergency";

 public static final String URGENT = "urgent";

 public static final String NORMAL = "normal";

 public static final String NON_URGENT = "non-urgent";

 public static final String DURATION = "duration";

 public static final String BRANCH = "branch";

 public static final String HIDDEN = "hidden";

 public static final String RECEIVED = "received";

 public static final String MADDR = "maddr";

 public static final String TTL = "ttl";

 public static final String TRANSPORT = "transport";

 public static final String TEXT = "text";

 public static final String CAUSE = "cause";

 public static final String ID = "id";

 // @@@ hagai
 public static final String RPORT = "rport";
}

this is an obvious hack so can we get the gf devs to publish source and avoid future hacks?


Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.



 



From: mgainty_at_hotmail.com
To: users_at_glassfish.dev.java.net
Subject: location of org.glassfish.api.admin.ParameterNames?
Date: Fri, 25 Jun 2010 11:26:40 -0400



Good Afternoon/Happy Friday to Glassfish Developers

My copy of org.glassfish.scripting.jython.JythonApplication.java currently imports org.glassfish.api.admin.ParameterNames
any ideas on where org.glassfish.api.admin.ParameterNames (jar) is currently located would be greatly appreciated
 
thanks!
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.





Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. See how.
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5