Lines Matching defs:which

56  * one which binds "Alice Bar", the name on her driver license,
57 * to the <code>Subject</code>, and another which binds,
63 * which are referred to as credentials.
269 * @param acc the <code>AccessControlContext</code> from which to retrieve
667 // (like size()), which don't seem security-sensitive.
741 // (like size()), which don't seem security-sensitive.
975 new ObjectStreamField("which", int.class)
983 * in this set. If <code>which == 1</code>,
986 * If <code>which == 2</code>, this is a public credential
988 * If <code>which == 3</code>, this is a private credential
991 private int which;
993 SecureSet(Subject subject, int which) {
995 this.which = which;
999 SecureSet(Subject subject, int which, Set<? extends E> set) {
1001 this.which = which;
1017 if (which != Subject.PRIV_CREDENTIAL_SET) {
1044 switch (which) {
1070 switch (which) {
1083 switch (which) {
1087 ("attempting.to.add.an.object.which.is.not.an.instance.of.java.security.Principal.to.a.Subject.s.Principal.Set"));
1107 if (which != Subject.PRIV_CREDENTIAL_SET) {
1135 if (which != Subject.PRIV_CREDENTIAL_SET) {
1176 if (which != Subject.PRIV_CREDENTIAL_SET) {
1214 if (which != Subject.PRIV_CREDENTIAL_SET) {
1252 if (which != Subject.PRIV_CREDENTIAL_SET) {
1280 if (which == Subject.PRIV_CREDENTIAL_SET) {
1290 fields.put("which", which);
1300 which = fields.get("which", 0);
1305 * This class implements a <code>Set</code> which returns only
1310 private int which;
1314 ClassSet(int which, Class<T> c) {
1315 this.which = which;
1319 switch (which) {
1334 switch(which) {
1351 if (which == Subject.PRIV_CREDENTIAL_SET) {
1362 if (which != Subject.PRIV_CREDENTIAL_SET) {
1390 ("attempting.to.add.an.object.which.is.not.an.instance.of.class"));