HomeSort by relevance Sort by last modified time
    Searched full:principal (Results 1 - 25 of 631) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/ojluni/src/main/java/java/security/acl/
Group.java 29 import java.security.Principal;
32 * This interface is used to represent a group of principals. (A principal
35 * Note that Group extends Principal. Thus, either a Principal or a Group can
36 * be passed as an argument to methods containing a Principal parameter. For
37 * example, you can add either a Principal or a Group to a Group object by
39 * Principal or Group.
43 public interface Group extends Principal {
48 * @param user the principal to add to this group.
51 * false if the principal was already a member
    [all...]
Acl.java 29 import java.security.Principal;
38 * 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 th
    [all...]
Owner.java 28 import java.security.Principal;
34 * interface.) The initial owner Principal should be specified as an
44 * principal must be an owner of the ACL in order to invoke this method.
48 * @param caller the principal invoking this method. It must be an owner
54 * @exception NotOwnerException if the caller principal is not an owner
57 public boolean addOwner(Principal caller, Principal owner)
64 * The caller principal must be an owner of the ACL in order to invoke
67 * @param caller the principal invoking this method. It must be an owner
75 * @exception NotOwnerException if the caller principal is not an owne
    [all...]
AclEntry.java 29 import java.security.Principal;
37 * with a particular principal. (A principal represents an entity such as
40 * to be granted to the associated principal. If negative, the permissions
41 * are to be denied. Each principal can have at most one positive ACL entry
43 * entries are not allowed for any principal.
57 * Specifies the principal for which permissions are granted or denied
58 * by this ACL entry. If a principal was already set for this ACL entry,
61 * @param user the principal to be set for this entry.
63 * @return true if the principal is set, false if there wa
    [all...]
  /libcore/ojluni/src/main/java/java/security/
Principal.java 29 * This interface represents the abstract notion of a principal, which
37 public interface Principal {
40 * Compares this principal to the specified object. Returns true
41 * if the object passed in matches the principal represented by
44 * @param another principal to compare with.
46 * @return true if the principal passed in is the same as that
47 * encapsulated by this principal, and false otherwise.
53 * Returns a string representation of this principal.
55 * @return a string representation of this principal.
60 * Returns a hashcode for this principal
    [all...]
Certificate.java 34 * An identity certificate is a guarantee by a principal that
35 * a public key is that of another principal. (A principal represents
44 * public key, the principal whose key it is, and the guarantor
46 * principal. So an implementation of X.509 certificates and an
69 * Returns the guarantor of the certificate, that is, the principal
71 * is that of the principal associated with this certificate. For X.509
75 * @return the guarantor which guaranteed the principal-key
78 public abstract Principal getGuarantor();
81 * Returns the principal of the principal-key pair being guaranteed b
    [all...]
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
CertificateStub.java 29 import java.security.Principal;
39 Principal guarantor;
40 Principal principal; field in class:CertificateStub
43 public CertificateStub(String format, Principal guarantor, Principal principal, PublicKey key) {
46 this.principal = principal;
83 public Principal getGuarantor()
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
CertificateStub.java 30 import java.security.Principal;
40 Principal guarantor;
41 Principal principal; field in class:CertificateStub
44 public CertificateStub(String format, Principal guarantor, Principal principal, PublicKey key){
47 this.principal = principal;
82 public Principal getGuarantor()
    [all...]
  /libcore/support/src/test/java/libcore/javax/net/ssl/
ForwardingX509ExtendedKeyManager.java 20 import java.security.Principal;
38 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) {
43 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) {
53 public String[] getClientAliases(String keyType, Principal[] issuers) {
58 public String[] getServerAliases(String keyType, Principal[] issuers) {
63 public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) {
68 public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine) {
FakeSSLSession.java 22 import java.security.Principal;
55 public Principal getLocalPrincipal() {
79 public Principal getPeerPrincipal() {
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
X509ExtendedKeyManagerTest.java 21 import java.security.Principal;
55 * java.security.Principal[], java.net.Socket)
57 public String chooseClientAlias(String[] keyType, Principal[] issuers,
64 * java.security.Principal[], java.net.Socket)
66 public String chooseServerAlias(String keyType, Principal[] issuers,
80 * java.security.Principal[])
82 public String[] getClientAliases(String keyType, Principal[] issuers) {
88 * java.security.Principal[])
90 public String[] getServerAliases(String keyType, Principal[] issuers) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
X509ExtendedKeyManagerTest.java 21 import java.security.Principal;
41 * @see javax.net.ssl.X509KeyManager#chooseClientAlias(java.lang.String[], java.security.Principal[], java.net.Socket)
43 public String chooseClientAlias(String[] arg0, Principal[] arg1, Socket arg2) {
49 * @see javax.net.ssl.X509KeyManager#chooseServerAlias(java.lang.String, java.security.Principal[], java.net.Socket)
51 public String chooseServerAlias(String arg0, Principal[] arg1, Socket arg2) {
65 * @see javax.net.ssl.X509KeyManager#getClientAliases(java.lang.String, java.security.Principal[])
67 public String[] getClientAliases(String arg0, Principal[] arg1) {
81 * @see javax.net.ssl.X509KeyManager#getServerAliases(java.lang.String, java.security.Principal[])
83 public String[] getServerAliases(String arg0, Principal[] arg1) {
103 * java.security.Principal[], javax.net.ssl.SSLEngine
    [all...]
  /external/jetty/src/config/etc/
spnego.conf 3 principal="HTTP/vm.mortbay.org@MORTBAY.ORG"
13 principal="HTTP/vm.mortbay.org@MORTBAY.ORG"
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
AttributeCertificateIssuer.java 4 import java.security.Principal;
41 public AttributeCertificateIssuer(X500Principal principal)
44 this(new X509Principal(principal.getEncoded()));
47 public AttributeCertificateIssuer(X509Principal principal)
49 form = new V2Form(GeneralNames.getInstance(new DERSequence(new GeneralName(principal))));
89 * Return any principal objects inside the attribute certificate issuer
92 * @return an array of Principal objects (usually X500Principal)
94 public Principal[] getPrincipals()
101 if (p[i] instanceof Principal)
107 return (Principal[])l.toArray(new Principal[l.size()])
    [all...]
  /external/apache-http/src/org/apache/http/auth/
NTCredentials.java 33 import java.security.Principal;
53 /** The user principal */
54 private final NTUserPrincipal principal; field in class:NTCredentials
84 this.principal = new NTUserPrincipal(
88 this.principal = new NTUserPrincipal(
113 this.principal = new NTUserPrincipal(domain, userName);
122 public Principal getUserPrincipal() {
123 return this.principal;
127 return this.principal.getUsername();
140 return this.principal.getDomain()
    [all...]
UsernamePasswordCredentials.java 33 import java.security.Principal;
55 private final BasicUserPrincipal principal; field in class:UsernamePasswordCredentials
71 this.principal = new BasicUserPrincipal(usernamePassword.substring(0, atColon));
74 this.principal = new BasicUserPrincipal(usernamePassword);
91 this.principal = new BasicUserPrincipal(userName);
95 public Principal getUserPrincipal() {
96 return this.principal;
100 return this.principal.getName();
109 return this.principal.hashCode();
118 if (LangUtils.equals(this.principal, that.principal))
    [all...]
  /libcore/ojluni/src/main/java/javax/net/ssl/
HandshakeCompletedEvent.java 30 import java.security.Principal;
167 * @return the peer's principal. Returns an X500Principal of the
179 public Principal getPeerPrincipal()
182 Principal principal; local
184 principal = session.getPeerPrincipal();
189 principal = (X500Principal)
192 return principal;
196 * Returns the principal that was sent to the peer during handshaking.
198 * @return the principal sent to the peer. Returns an X500Principa
210 Principal principal; local
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/security/
SpnegoUserIdentity.java 21 import java.security.Principal;
31 private Principal _principal;
34 public SpnegoUserIdentity( Subject subject, Principal principal, List<String> roles )
37 _principal = principal;
47 public Principal getUserPrincipal()
  /libcore/ojluni/src/main/java/java/net/
SecureCacheResponse.java 30 import java.security.Principal;
78 * Returns the server's principal which was established as part of
82 * @return the server's principal. Returns an X500Principal of the
91 public abstract Principal getPeerPrincipal()
95 * Returns the principal that was sent to the server during
99 * @return the principal sent to the server. Returns an X500Principal
101 * KerberosPrincipal for Kerberos cipher suites. If no principal was
107 public abstract Principal getLocalPrincipal();
  /libcore/luni/src/test/java/libcore/java/security/cert/
X509CRLSelectorTest.java 28 private static final X500Principal PRINCIPAL = new X500Principal(PRINCIPAL_STRING);
32 crlSelector.addIssuer(PRINCIPAL);
43 crlSelector.addIssuer(PRINCIPAL);
  /external/conscrypt/src/main/java/org/conscrypt/
KeyManagerImpl.java 24 import java.security.Principal;
88 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) {
94 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) {
119 public String[] getClientAliases(String keyType, Principal[] issuers) {
124 public String[] getServerAliases(String keyType, Principal[] issuers) {
140 public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine engine) {
146 public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine) {
151 private String[] chooseAlias(String[] keyTypes, Principal[] issuers) {
155 List<Principal> issuersList = (issuers == null) ? null : Arrays.asList(issuers);
208 * getIssuerX500Principal as opposed to Principal
    [all...]
  /frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
WiFiKeyManager.java 10 import java.security.Principal;
84 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) {
94 for (Principal issuer : issuers) {
118 public String[] getClientAliases(String keyType, Principal[] issuers) {
121 for (Principal issuer : issuers) {
138 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) {
143 public String[] getServerAliases(String keyType, Principal[] issuers) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/
X500PrincipalTest.java 281 X500Principal principal = new X500Principal( local
283 String name = principal.getName();
306 X500Principal principal = new X500Principal( local
308 String canonical = principal.getName(X500Principal.CANONICAL);
352 X500Principal principal = new X500Principal(is); local
353 String s = principal.toString();
373 X500Principal principal = new X500Principal(is); local
374 String s = principal.toString();
400 X500Principal principal = new X500Principal(is); local
402 String s = principal.getName(X500Principal.RFC1779)
416 X500Principal principal = new X500Principal(is); local
432 X500Principal principal = new X500Principal(is); local
451 X500Principal principal = new X500Principal(mess); local
466 X500Principal principal = new X500Principal(mess); local
480 X500Principal principal = new X500Principal(mess); local
495 X500Principal principal = new X500Principal(mess); local
520 X500Principal principal = new X500Principal(dn); local
535 X500Principal principal = new X500Principal(dn); local
550 X500Principal principal = new X500Principal(dn); local
566 X500Principal principal = new X500Principal(mess); local
582 X500Principal principal = new X500Principal(mess); local
598 X500Principal principal = new X500Principal(mess); local
627 X500Principal principal = new X500Principal(dn); local
643 X500Principal principal = new X500Principal(dn); local
671 X500Principal principal = new X500Principal(mess); local
702 X500Principal principal = new X500Principal(mess); local
732 X500Principal principal = new X500Principal(mess); local
763 X500Principal principal = new X500Principal(is); local
794 X500Principal principal = new X500Principal(is); local
825 X500Principal principal = new X500Principal(is); local
843 X500Principal principal = new X500Principal(dn); local
861 X500Principal principal = new X500Principal(dn); local
879 X500Principal principal = new X500Principal(dn); local
894 X500Principal principal = new X500Principal(dn); local
907 X500Principal principal = new X500Principal(dn); local
920 X500Principal principal = new X500Principal(dn); local
934 X500Principal principal = new X500Principal(dn); local
948 X500Principal principal = new X500Principal(dn); local
962 X500Principal principal = new X500Principal(dn); local
976 X500Principal principal = new X500Principal(dn); local
990 X500Principal principal = new X500Principal(dn); local
1004 X500Principal principal = new X500Principal(dn); local
1018 X500Principal principal = new X500Principal(dn); local
1032 X500Principal principal = new X500Principal(unicodeStr); local
1045 X500Principal principal = new X500Principal(dn); local
1058 X500Principal principal = new X500Principal(dn); local
1069 X500Principal principal = new X500Principal(dn); local
1080 X500Principal principal = new X500Principal(dn); local
1091 X500Principal principal = new X500Principal(dn); local
1144 X500Principal principal = new X500Principal(dn); local
1150 X500Principal principal = new X500Principal(dn); local
1160 X500Principal principal = new X500Principal(dn); local
1492 X500Principal principal = new X500Principal(dn); local
1509 X500Principal principal = new X500Principal(dn); local
1528 X500Principal principal = new X500Principal(dn); local
1547 X500Principal principal = new X500Principal(dn); local
1563 X500Principal principal = new X500Principal(mess); local
1577 X500Principal principal = new X500Principal(mess); local
1591 X500Principal principal = new X500Principal(mess); local
1605 X500Principal principal = new X500Principal(mess); local
1619 X500Principal principal = new X500Principal(mess); local
1633 X500Principal principal = new X500Principal(mess); local
1646 X500Principal principal = new X500Principal(dn); local
1659 X500Principal principal = new X500Principal(dn); local
1672 X500Principal principal = new X500Principal(dn); local
1685 X500Principal principal = new X500Principal(dn); local
1721 X500Principal principal = new X500Principal(dn); local
1734 X500Principal principal = new X500Principal(dn); local
1747 X500Principal principal = new X500Principal(dn); local
1761 X500Principal principal = new X500Principal(dn); local
1789 X500Principal principal = new X500Principal(dn); local
1803 X500Principal principal = new X500Principal(dn); local
1815 X500Principal principal = new X500Principal(dn); local
1828 X500Principal principal = new X500Principal(dn); local
1841 X500Principal principal = new X500Principal(dn); local
1854 X500Principal principal = new X500Principal(dn); local
1867 X500Principal principal = new X500Principal(dn); local
1880 X500Principal principal = new X500Principal(dn); local
1893 X500Principal principal = new X500Principal(dn); local
1907 X500Principal principal = new X500Principal(dn); local
1922 X500Principal principal = new X500Principal(dn); local
1936 X500Principal principal = new X500Principal(dn); local
1949 X500Principal principal = new X500Principal(dn); local
1961 X500Principal principal = new X500Principal(dn); local
1973 X500Principal principal = new X500Principal(dn); local
1986 X500Principal principal = new X500Principal(dn); local
1999 X500Principal principal = new X500Principal(dn); local
2012 X500Principal principal = new X500Principal(dn); local
2025 X500Principal principal = new X500Principal(dn); local
2038 X500Principal principal = new X500Principal(dn); local
2051 X500Principal principal = new X500Principal(dn); local
2064 X500Principal principal = new X500Principal(dn); local
2077 X500Principal principal = new X500Principal(dn); local
2103 X500Principal principal = new X500Principal(dn); local
2115 X500Principal principal = new X500Principal(dn); local
2127 X500Principal principal = new X500Principal(dn); local
2140 X500Principal principal = new X500Principal(dn); local
2152 X500Principal principal = new X500Principal(dn); local
2164 X500Principal principal = new X500Principal(dn); local
2177 X500Principal principal = new X500Principal(dn); local
2190 X500Principal principal = new X500Principal(dn); local
2203 X500Principal principal = new X500Principal(dn); local
2211 X500Principal principal = new X500Principal(dn); local
2223 X500Principal principal = new X500Principal(dn); local
2235 X500Principal principal = new X500Principal(dn); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
SecureCacheResponseTest.java 22 import java.security.Principal;
55 public Principal getLocalPrincipal() {
61 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException {
  /external/e2fsprogs/lib/et/test_cases/
heimdal.et 14 ec KDC_NAME_EXP, "Kerberos principal expired"
21 ec KDC_PR_UNKNOWN, "Kerberos principal unknown"
22 ec KDC_PR_N_UNIQUE, "Kerberos principal not unique"
23 ec KDC_NULL_KEY, "Kerberos principal has null key"

Completed in 418 milliseconds

1 2 3 4 5 6 7 8 91011>>