Searched refs:PrincipalName (Results 1 - 25 of 65) sorted by relevance

123

/openjdk7/jdk/test/sun/security/krb5/name/
H A DImmutable.java30 import sun.security.krb5.PrincipalName;
34 PrincipalName pn1 = new PrincipalName("host/service@REALM");
35 PrincipalName pn2 = (PrincipalName)pn1.clone();
/openjdk7/jdk/src/share/classes/sun/security/krb5/
H A DServiceName.java36 public class ServiceName extends PrincipalName {
43 this(name, PrincipalName.KRB_NT_UNKNOWN);
47 this(name, PrincipalName.KRB_NT_UNKNOWN);
54 super(service, instance, realm, PrincipalName.KRB_NT_SRV_INST);
H A DKrbCred.java63 PrincipalName client = tgt.getClient();
64 PrincipalName tgService = tgt.getServer();
65 PrincipalName server = serviceTicket.getServer();
81 if (server.getNameType() == PrincipalName.KRB_NT_SRV_HST)
96 PrincipalName princ = delegatedCreds.getClient();
98 PrincipalName tgService = delegatedCreds.getServer();
142 // XXX PrincipalName can store realm + principalname or
144 PrincipalName pname = credInfo.pname;
152 PrincipalName sname = credInfo.sname;
H A DKrbAsReq.java54 PrincipalName cname, // NO and must have realm
55 PrincipalName sname, // ok, krgtgt@CREALM
118 sname = new PrincipalName("krbtgt" +
119 PrincipalName.NAME_COMPONENT_SEPARATOR +
121 PrincipalName.KRB_NT_SRV_INST);
H A DPrincipalName.java47 public class PrincipalName class in inherits:Cloneable
107 protected PrincipalName() { method in class:PrincipalName
110 public PrincipalName(String[] nameParts, int type) method in class:PrincipalName
121 public PrincipalName(String[] nameParts) throws IOException { method in class:PrincipalName
127 PrincipalName pName = (PrincipalName) super.clone();
143 * PrincipalName is not being called but Object.equals(Object) is
147 if (o instanceof PrincipalName)
148 return equals((PrincipalName)o);
153 public boolean equals(PrincipalName othe
218 public PrincipalName(DerValue encoding) method in class:PrincipalName
353 public PrincipalName(String name, int type) method in class:PrincipalName
431 public PrincipalName(String name) throws RealmException { method in class:PrincipalName
435 public PrincipalName(String name, String realm) throws RealmException { method in class:PrincipalName
621 protected PrincipalName(String primary, String instance, String realm, method in class:PrincipalName
[all...]
H A DCredentials.java50 PrincipalName client;
51 PrincipalName server;
68 PrincipalName new_client,
69 PrincipalName new_server,
84 PrincipalName new_client,
85 PrincipalName new_server,
117 new PrincipalName(client, PrincipalName.KRB_NT_PRINCIPAL),
118 new PrincipalName(server, PrincipalName
[all...]
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ccache/
H A DMemoryCredentialsCache.java50 private static CredentialsCache getCCacheInstance(PrincipalName p) {
54 private static CredentialsCache getCCacheInstance(PrincipalName p, File cacheFile) {
67 public abstract Credentials getCreds(PrincipalName sname, Realm srealm) ;
69 public abstract PrincipalName getPrimaryPrincipal();
H A DCredentialsCache.java55 public static CredentialsCache getInstance(PrincipalName principal) {
68 public static CredentialsCache getInstance(PrincipalName principal,
95 public static CredentialsCache create(PrincipalName principal, String name) {
109 public static CredentialsCache create(PrincipalName principal) {
118 public abstract PrincipalName getPrimaryPrincipal();
123 public abstract Credentials getCreds(PrincipalName sname, Realm srealm) ;
124 public abstract Credentials getCreds(LoginOptions options, PrincipalName sname, Realm srealm) ;
H A DCredentials.java38 PrincipalName cname;
40 PrincipalName sname;
56 PrincipalName new_cname,
57 PrincipalName new_sname,
69 cname = (PrincipalName) new_cname.clone();
74 sname = (PrincipalName) new_sname.clone();
114 cname = (PrincipalName) kdcRep.cname.clone();
127 sname = (PrincipalName) kdcRep.encKDCRepPart.sname.clone();
140 sname = (PrincipalName) kdcRep.encKDCRepPart.sname.clone();
146 cname = (PrincipalName) kdcRe
[all...]
/openjdk7/jdk/src/share/classes/javax/security/auth/kerberos/
H A DJavaxSecurityAuthKerberosAccessImpl.java30 import sun.security.krb5.PrincipalName;
35 KeyTab ktab, PrincipalName principal) {
H A DKerberosPrincipal.java31 import sun.security.krb5.PrincipalName;
119 PrincipalName krb5Principal = null;
123 krb5Principal = new PrincipalName(name, KRB_NT_PRINCIPAL);
162 PrincipalName krb5Principal = null;
166 krb5Principal = new PrincipalName(name,nameType);
232 * by writing out the PrincipalName and the
240 PrincipalName krb5Principal = null;
242 krb5Principal = new PrincipalName(fullName,nameType);
261 PrincipalName krb5Principal = new PrincipalName(ne
[all...]
H A DKeyTab.java32 import sun.security.krb5.PrincipalName;
161 new PrincipalName(principal.getName()));
178 EncryptionKey[] getEncryptionKeys(PrincipalName principal) {
/openjdk7/jdk/src/share/classes/sun/misc/
H A DJavaxSecurityAuthKerberosAccess.java30 import sun.security.krb5.PrincipalName;
42 KeyTab ktab, PrincipalName principal);
/openjdk7/jdk/test/sun/security/krb5/ktab/
H A DKeyTabIndex.java28 import sun.security.krb5.PrincipalName;
36 kt.addEntry(new PrincipalName(
39 kt.addEntry(new PrincipalName("a@A"), "x".toCharArray(), 1, true);
H A DFileKeyTab.java29 import sun.security.krb5.PrincipalName;
36 kt.addEntry(new PrincipalName("a@A"), "x".toCharArray(), 1, true);
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DKrb5NameElement.java31 import sun.security.krb5.PrincipalName;
47 private PrincipalName krb5PrincipalName;
52 // XXX Move this concept into PrincipalName's asn1Encode() sometime
55 private Krb5NameElement(PrincipalName principalName,
88 PrincipalName principalName;
93 principalName = new PrincipalName(gssNameStr,
94 PrincipalName.KRB_NT_PRINCIPAL);
112 principalName = new PrincipalName(gssNameStr,
113 PrincipalName.KRB_NT_PRINCIPAL);
122 PrincipalName
[all...]
/openjdk7/jdk/test/sun/security/krb5/canonicalize/
H A DTest.java34 import sun.security.krb5.PrincipalName;
59 PrincipalName pn = new PrincipalName("host/"+input,
60 PrincipalName.KRB_NT_SRV_HST);
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DASRep.java33 import sun.security.krb5.PrincipalName;
46 PrincipalName new_cname,
H A DTGSRep.java33 import sun.security.krb5.PrincipalName;
46 PrincipalName new_cname,
H A DKrbCredInfo.java45 * pname [2] PrincipalName OPTIONAL,
52 * sname [9] PrincipalName OPTIONAL,
67 public PrincipalName pname; //optional
74 public PrincipalName sname; //optional
83 PrincipalName new_pname,
90 PrincipalName new_sname,
132 pname = PrincipalName.parse(encoding.getData(), (byte)0x02, true);
146 sname = PrincipalName.parse(encoding.getData(), (byte)0x09, true);
196 kcred.pname = (PrincipalName)pname.clone();
210 kcred.sname = (PrincipalName)snam
[all...]
/openjdk7/jdk/test/sun/security/krb5/auto/
H A DPrincipalNameEquals.java33 import sun.security.krb5.PrincipalName;
41 kdc.setOption(KDC.Option.RESP_NT, PrincipalName.KRB_NT_PRINCIPAL);
H A DMoreKvno.java35 import sun.security.krb5.PrincipalName;
41 static PrincipalName p;
50 p = new PrincipalName(
51 OneKDC.SERVER+"@"+OneKDC.REALM, PrincipalName.KRB_NT_SRV_HST);
/openjdk7/jdk/src/share/classes/sun/security/ssl/krb5/
H A DKrb5ProxyImpl.java39 import sun.security.krb5.PrincipalName;
83 PrincipalName princName =
84 new PrincipalName(principal.getName(),
85 PrincipalName.KRB_NT_SRV_HST);
/openjdk7/jdk/test/sun/security/krb5/ccache/
H A DEmptyCC.java39 import sun.security.krb5.PrincipalName;
44 final PrincipalName pn = new PrincipalName("dummy@FOO.COM");
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ktab/
H A DKeyTabEntry.java44 PrincipalName service;
52 public KeyTabEntry (PrincipalName new_service, Realm new_realm, KerberosTime new_time,
64 public PrincipalName getService() {

Completed in 4863 milliseconds

123