Searched defs:principal (Results 1 - 25 of 37) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/misc/
H A DJavaxSecurityAuthKerberosAccess.java38 * Returns keys for a principal in a keytab.
42 KeyTab ktab, PrincipalName principal);
41 keyTabGetEncryptionKeys( KeyTab ktab, PrincipalName principal) argument
/openjdk7/jdk/src/share/classes/javax/security/auth/kerberos/
H A DJavaxSecurityAuthKerberosAccessImpl.java35 KeyTab ktab, PrincipalName principal) {
36 return ktab.getEncryptionKeys(principal);
34 keyTabGetEncryptionKeys( KeyTab ktab, PrincipalName principal) argument
H A DKeyTab.java121 * Returns fresh keys for the given Kerberos principal.
144 * the result should be saved for {@code principal}. The implementation can
151 * @param principal the Kerberos principal, must not be null.
153 * @throws NullPointerException if the {@code principal}
158 public KerberosKey[] getKeys(KerberosPrincipal principal) { argument
161 new PrincipalName(principal.getName()));
166 principal,
178 EncryptionKey[] getEncryptionKeys(PrincipalName principal) { argument
179 return takeSnapshot().readServiceKeys(principal);
[all...]
H A DKerberosKey.java35 * principal.<p>
37 * All Kerberos JAAS login modules that obtain a principal's password and
65 * The principal that this secret key belongs to.
69 private KerberosPrincipal principal; field in class:KerberosKey
100 * @param principal the principal that this secret key belongs to
106 public KerberosKey(KerberosPrincipal principal, argument
110 this.principal = principal;
116 * Constructs a KerberosKey from a principal'
126 KerberosKey(KerberosPrincipal principal, char[] password, String algorithm) argument
[all...]
H A DKeyImpl.java44 * with a principal and may represent an ephemeral session key.
76 * @param principal the principal from which to derive the salt
83 public KeyImpl(KerberosPrincipal principal, argument
88 PrincipalName princ = new PrincipalName(principal.getName());
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/internal/
H A DSnmpAccessControlSubSystem.java43 * @param principal The request principal.
51 String principal,
62 * @param principal The request principal.
70 String principal,
50 checkPduAccess(int version, String principal, int securityLevel, int pduType, int securityModel, byte[] contextName, SnmpPdu pdu) argument
69 checkAccess(int version, String principal, int securityLevel, int pduType, int securityModel, byte[] contextName, SnmpOid oid) argument
H A DSnmpAccessControlModel.java41 * @param principal The request principal.
49 String principal,
60 * @param principal The request principal.
68 String principal,
48 checkAccess(int version, String principal, int securityLevel, int pduType, int securityModel, byte[] contextName, SnmpOid oid) argument
67 checkPduAccess(int version, String principal, int securityLevel, int pduType, int securityModel, byte[] contextName, SnmpPdu pdu) argument
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/sasl/
H A DDefaultCallbackHandler.java37 * gotten from the java.naming.security.principal property.
53 DefaultCallbackHandler(String principal, Object cred, String realm) argument
55 authenticationID = principal;
/openjdk7/jdk/src/share/classes/com/sun/net/httpserver/
H A DAuthenticator.java68 * authenticated user principal can be acquired by calling
72 private HttpPrincipal principal; field in class:Authenticator.Success
75 principal = p;
81 return principal;
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/rcache/
H A DCacheTable.java52 * @params principal the client's principal name.
55 public synchronized void put(String principal, AuthTime time, long currTime) { argument
56 ReplayCache rc = super.get(principal);
59 System.out.println("replay cache for " + principal + " is null.");
61 rc = new ReplayCache(principal, this);
63 super.put(principal, rc);
68 super.put(principal, rc);
79 * @params principal the client's principal nam
83 get(AuthTime time, String principal) argument
[all...]
H A DReplayCache.java50 private String principal; field in class:ReplayCache
57 * Constructs a ReplayCache for a client principal in specified <code>CacheTable</code>.
58 * @param p client principal name.
62 principal = p;
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DKrb5Proxy.java53 * Returns the KerberosKeys for the default server-side principal.
58 * Returns the server-side principal name associated with the KerberosKey.
63 * Returns the hostname embedded in the principal name.
65 String getPrincipalHostName(Principal principal); argument
68 * Returns a ServicePermission for the principal name and action.
H A DKrb5Helper.java94 * Returns the KerberosKeys for the default server-side principal.
103 * Returns the server-side principal name associated with the KerberosKey.
111 * Returns the hostname embedded in the principal name.
113 public static String getPrincipalHostName(Principal principal) { argument
115 return proxy.getPrincipalHostName(principal);
119 * Returns a ServicePermission for the principal name and action.
/openjdk7/jdk/src/share/classes/sun/security/ssl/krb5/
H A DKrb5ProxyImpl.java77 public String getPrincipalHostName(Principal principal) { argument
78 if (principal == null) {
84 new PrincipalName(principal.getName(),
/openjdk7/jdk/test/javax/management/monitor/
H A DThreadPoolAccTest.java53 public String principal; field in class:ThreadPoolAccTest.ObservedObject
69 principal = ((Principal) principals.iterator().next()).getName();
153 // Check if task principal is correct
161 echo(">>> Principal = " + monitored[i].principal);
162 if (monitored[i].principal.equals(principals[i / 3])) {
/openjdk7/jdk/src/share/classes/java/security/
H A DIdentityScope.java186 * specified principal. (Note: Identity implements Principal.)
188 * @param principal the principal corresponding to the identity
192 * principal, or null if there are no identities of the same name
195 public Identity getIdentity(Principal principal) { argument
196 return getIdentity(principal.getName());
/openjdk7/jdk/src/share/classes/java/security/acl/
H A DAcl.java38 * set of permissions associated with a particular principal. (A
39 * principal represents an entity such as an individual user or a
42 * granted to the associated principal. If negative, the permissions
47 * <ul> <li>Each principal can have at most one positive ACL entry and
49 * entries are not allowed for any principal. Each entry specifies
53 * <li>If there is no entry for a particular principal, then the
54 * principal is considered to have a null (empty) permission set.<p>
56 * <li>If there is a positive entry that grants a principal a
58 * principal the same permission, the result is as though the
96 * @param caller the principal invokin
232 checkPermission(Principal principal, Permission permission) argument
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/
H A DAclEntry.java42 * <li><p> The {@link #principal() principal} component, sometimes called the
147 * Sets the principal component of this builder.
275 * Returns the principal component.
277 public UserPrincipal principal() { method in class:AclEntry
/openjdk7/jdk/src/windows/classes/sun/security/krb5/internal/tools/
H A DKtab.java58 String principal; field in class:Ktab
151 error("A principal name must be specified after -a");
153 principal = args[i];
158 error("A principal name must be specified after -d");
160 principal = args[i];
257 pname = new PrincipalName(principal);
262 System.err.println("Failed to add " + principal +
288 System.out.println("Service key for " + principal +
292 System.err.println("Failed to add " + principal + " to keytab.");
366 pname = new PrincipalName(principal);
[all...]
H A DKinitOptions.java65 private PrincipalName principal; field in class:KinitOptions
81 principal = getDefaultPrincipal();
90 if (principal != null) {
91 return principal.getRealmString();
99 // currently we provide support for -f -p -c principal options
100 String p = null; // store principal
140 } else if (p == null) { // Haven't yet processed a "principal"
143 principal = new PrincipalName(p);
149 if (principal.getRealm() == null) {
154 principal
[all...]
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ccache/
H A DCredentialsCache.java55 public static CredentialsCache getInstance(PrincipalName principal) { argument
56 return FileCredentialsCache.acquireInstance(principal, null);
68 public static CredentialsCache getInstance(PrincipalName principal, argument
75 return FileCredentialsCache.acquireInstance(principal,
83 return FileCredentialsCache.acquireInstance(principal, cache);
95 public static CredentialsCache create(PrincipalName principal, String name) { argument
102 return (FileCredentialsCache.New(principal, name));
106 return (FileCredentialsCache.New(principal, name));
109 public static CredentialsCache create(PrincipalName principal) { argument
110 // create a default credentials cache for a specified principal
[all...]
H A DFileCredentialsCache.java68 PrincipalName principal, String cache) {
80 if (principal != null) {
81 fcc.primaryPrincipal = principal;
82 fcc.primaryRealm = principal.getRealm();
104 static synchronized FileCredentialsCache New(PrincipalName principal, argument
113 fcc.init(principal, cacheName);
123 static synchronized FileCredentialsCache New(PrincipalName principal) { argument
127 fcc.init(principal, cacheName);
153 synchronized void init(PrincipalName principal, String name) argument
155 primaryPrincipal = principal;
67 acquireInstance( PrincipalName principal, String cache) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DHostnameChecker.java100 public static boolean match(String expectedName, Principal principal) { argument
101 String hostName = getServerName(principal);
106 * Return the Server name from Kerberos principal.
108 public static String getServerName(Principal principal) { argument
109 return Krb5Helper.getPrincipalHostName(principal);
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DX509CRLSelector.java286 * @param principal the name in X500Principal form
289 private void addIssuerNameInternal(Object name, X500Principal principal) { argument
297 issuerX500Principals.add(principal);
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/agent/
H A DSnmpMibRequestImpl.java66 String principal,
76 this.principal = principal;
95 * Gets the incoming request principal. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise null is returned.
96 * @return The request principal.
99 return principal;
237 private String principal = null; field in class:SnmpMibRequestImpl
61 SnmpMibRequestImpl(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int protocolVersion, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) argument

Completed in 6584 milliseconds

12