/libcore/luni/src/main/java/java/security/ |
ProtectionDomain.java | 40 // Set of principals associated with this ProtectionDomain 41 private Principal[] principals; field in class:ProtectionDomain 77 //this.principals = null; 83 * code source, the permissions, the class loader and the principals. 92 * External modifications of the provided {@code principals} array has no 104 * @param principals 105 * the principals associated with this domain, maybe {@code 109 ClassLoader cl, Principal[] principals) { 116 if (principals != null) { 117 this.principals = new Principal[principals.length] [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/ |
PolicyEntry.java | 36 * a CodeSource of an executable code, Principals allowed to execute the code, 46 // Array of principals 47 private final Principal[] principals; field in class:PolicyEntry 59 this.principals = (prs == null || prs.isEmpty()) ? null 99 * Checks if specified Principals match this PolicyEntry. Null or empty set 100 * of Principals of PolicyEntry implies any Principals; otherwise specified 101 * array must contain all Principals of this PolicyEntry. 104 return PolicyUtils.matchSubset(principals, prs);
|
DefaultPolicyScanner.java | 437 public Collection<PrincipalEntry> principals; field in class:DefaultPolicyScanner.GrantEntry 445 * Adds specified element to the <code>principals</code> collection. 449 if (principals == null) { 450 principals = new HashSet<PrincipalEntry>(); 452 principals.add(pe);
|
UnresolvedPrincipal.java | 33 * policy may grant permissions depending on what Principals own the current
|
/libcore/luni/src/main/java/javax/security/auth/x500/ |
package.html | 8 This package provides classes needed to store X.500 principals and their
|
/libcore/luni/src/test/java/tests/api/javax/security/auth/ |
SubjectDomainCombinerTest.java | 174 // check principals 175 Principal[] principals = pd.getPrincipals(); local 180 for(int j = 0; j < principals.length; j++) { 181 if(contains(names, principals[j].getName()) == false) 182 fail("principal mismatch (" + j +") " + principals[j].getName()); 264 // check principals 265 Principal[] principals = pd.getPrincipals(); local 267 for(int j = 0; j < principals.length; j++) { 268 if(contains(SubjectX500names, principals[j].getName()) == false) 269 fail("principal mismatch (" + j +") " + principals[j].getName()) 346 Principal[] principals = pd.getPrincipals(); local 369 Principal[] principals = new Principal[names.length]; local [all...] |
PrivateCredentialPermissionTest.java | 172 assertEquals("wrong number of principals", 2, p.length);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProtectionDomainTest.java | 61 private Principal[] principals = null; // changed in setUp() field in class:ProtectionDomainTest 77 principals = new Principal[] { new TestPrincipal("0"), 129 new ProtectionDomain(null, null, null, principals); 131 new ProtectionDomain(cs, perms, classldr, principals); 200 ProtectionDomain pd = new ProtectionDomain(null, null, null, principals); 203 assertNotSame(got, principals); 205 assertTrue(got.length == principals.length); 273 .getSystemClassLoader(), principals); 301 res = new ProtectionDomain(cs, perms, classldr, principals).toString();
|
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/ |
DefaultPolicyParser.java | 159 * <li> If <code>principals</code> collection is specified, iterate over it. 172 * of resolved URL, Certificates and Principals to a set of granted Permissions. 179 * @throws Exception if unable to resolve codebase, signers or principals 190 Set<Principal>principals = new HashSet<Principal>(); local 202 if (ge.principals != null) { 203 for (Iterator<PrincipalEntry> iter = ge.principals.iterator(); iter.hasNext();) { 210 principals.add(getPrincipalByAlias(ks, pe.name)); 212 principals.add(new UnresolvedPrincipal(pe.klass, pe.name)); 229 return new PolicyEntry(new CodeSource(codebase, signers), principals, 311 * GrantEntry. Returns a space-separated list of resolved Principals [all...] |
DefaultPolicy.java | 78 * Also, the code may be required to be executed on behalf of some Principals 79 * (in other words, code's ProtectionDomain must have the array of Principals 119 * entry. Replaced by a space-separated list of resolved Principals (including 121 * Grant entry has no Principals, the permission is ignored. 189 * domain are it's codesource and principals; they are assumed 229 * The evaluation assumes that current principals are undefined.
|
/libcore/luni/src/main/java/javax/security/auth/ |
PrivateCredentialPermission.java | 38 * more principals identifying the subject. 40 * The principals on their part are specified as the name of the {@code 86 * class and set of principals. 90 * @param principals 91 * the set of principals. 93 PrivateCredentialPermission(String credentialClass, Set<Principal> principals) { 97 set = new CredOwner[principals.size()]; 98 for (Principal p : principals) { 199 * dimension of the array corresponds to the number of principals. The
|
Subject.java | 77 private final Set<Principal> principals; field in class:Subject 89 * credentials and principals with the empty set. 93 principals = new SecureSet<Principal>(_PRINCIPALS); 102 * credentials and principals according to the arguments. 108 * the set of Principals that are attributed to this {@code 124 principals = new SecureSet<Principal>(_PRINCIPALS, subjPrincipals); 286 * Checks two Subjects for equality. More specifically if the principals, 309 if (principals.equals(that.principals) 323 return principals; [all...] |
AuthPermission.java | 34 * modifyPrincipals modify the set of principals
|
/external/ipsec-tools/src/racoon/samples/ |
racoon.conf.sample-gssapi | 29 # principals in your system's keytab. If you need to,
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
CertificateRequest.java | 105 Vector<X500Principal> principals = new Vector<X500Principal>(); local 108 principals.add(new X500Principal(in)); 112 certificate_authorities = new X500Principal[principals.size()]; 114 certificate_authorities[i] = principals.elementAt(i);
|
/libcore/luni/src/main/java/java/security/acl/ |
Group.java | 24 * A {@code Principal} that represents a group of principals.
|
Acl.java | 32 * An {@code Acl} has a list of owners ({@link Owner}) which are principals as 33 * well {@code Principal}. Only those principals which are the {@code Acl}'s
|
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
AttributeCertificateHolder.java | 289 * Return the principals associated with the issuer attached to this holder 291 * @return an array of principals, null if no BaseCertificateID is set.
|
/external/kernel-headers/original/linux/sunrpc/ |
svcauth.h | 37 * contain multiple principals which will have different specific right
|
/packages/apps/Launcher2/res/values-ca/ |
strings.xml | 23 <string name="uid_name" msgid="3371120195364560632">"Aplicacions principals d\'Android"</string>
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
pwd.h | 131 the interface is designed following the principals used for the
|
grp.h | 123 the interface is designed following the principals used for the
|
/libcore/luni/src/main/native/ |
NativeCrypto.cpp | [all...] |
/libcore/luni/src/main/java/java/security/cert/ |
X509CRLSelector.java | 151 // extend the list of issuer Principals 284 // extend the list of issuer Principals
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/rpcsvc/ |
nis_object.x | 184 * are used to authorize principals. Each object has a set of access rights
|