Lines Matching refs:gssNameType
50 private Oid gssNameType = null;
57 Oid gssNameType) {
60 this.gssNameType = gssNameType;
70 static Krb5NameElement getInstance(String gssNameStr, Oid gssNameType)
74 * A null gssNameType implies that the mechanism default
77 if (gssNameType == null)
78 gssNameType = Krb5MechFactory.NT_GSS_KRB5_PRINCIPAL;
80 if (!gssNameType.equals(GSSName.NT_USER_NAME) &&
81 !gssNameType.equals(GSSName.NT_HOSTBASED_SERVICE) &&
82 !gssNameType.equals(Krb5MechFactory.NT_GSS_KRB5_PRINCIPAL) &&
83 !gssNameType.equals(GSSName.NT_EXPORT_NAME))
85 gssNameType.toString()
91 if (gssNameType.equals(GSSName.NT_EXPORT_NAME) ||
92 gssNameType.equals(Krb5MechFactory.NT_GSS_KRB5_PRINCIPAL)) {
111 if (gssNameType.equals(GSSName.NT_USER_NAME))
130 return new Krb5NameElement(principalName, gssNameStr, gssNameType);
309 return (gssNameType);
320 return (gssNameType);
327 return (gssNameType.equals(GSSName.NT_ANONYMOUS));