Lines Matching defs:which

56  * one which binds "Alice Bar", the name on her driver license,
57 * to the {@code Subject}, and another which binds,
63 * which are referred to as credentials.
267 * @param acc the {@code AccessControlContext} from which to retrieve
684 // (like size()), which don't seem security-sensitive.
757 // (like size()), which don't seem security-sensitive.
1039 new ObjectStreamField("which", int.class)
1047 * in this set. If {@code which == 1},
1050 * If {@code which == 2}, this is a public credential
1052 * If {@code which == 3}, this is a private credential
1055 private int which;
1057 SecureSet(Subject subject, int which) {
1059 this.which = which;
1063 SecureSet(Subject subject, int which, Set<? extends E> set) {
1065 this.which = which;
1081 if (which != Subject.PRIV_CREDENTIAL_SET) {
1108 switch (which) {
1137 switch (which) {
1150 switch (which) {
1154 ("attempting.to.add.an.object.which.is.not.an.instance.of.java.security.Principal.to.a.Subject.s.Principal.Set"));
1178 if (which != Subject.PRIV_CREDENTIAL_SET) {
1205 if (which != Subject.PRIV_CREDENTIAL_SET) {
1255 if (which != Subject.PRIV_CREDENTIAL_SET) {
1297 if (which != Subject.PRIV_CREDENTIAL_SET) {
1321 if (which != Subject.PRIV_CREDENTIAL_SET) {
1414 if (which == Subject.PRIV_CREDENTIAL_SET) {
1424 fields.put("which", which);
1434 which = fields.get("which", 0);
1450 * This class implements a {@code Set} which returns only
1455 private int which;
1459 ClassSet(int which, Class<T> c) {
1460 this.which = which;
1464 switch (which) {
1480 switch(which) {
1497 if (which == Subject.PRIV_CREDENTIAL_SET) {
1508 if (which != Subject.PRIV_CREDENTIAL_SET) {
1539 ("attempting.to.add.an.object.which.is.not.an.instance.of.class"));