Lines Matching refs:subject
8 * particular file as subject to the "Classpath" exception as provided
80 * Subject subject;
85 * subject.getPrincipals().add(principal);
86 * subject.getPublicCredentials().add(credential);
324 * @param subject the <code>Subject</code> that the specified
340 public static <T> T doAs(final Subject subject,
358 createContext(subject, currentAcc));
377 * @param subject the <code>Subject</code> that the specified
398 public static <T> T doAs(final Subject subject,
417 createContext(subject, currentAcc));
433 * @param subject the <code>Subject</code> that the specified
441 * specified <i>subject</i> and <i>action</i>. <p>
452 public static <T> T doAsPrivileged(final Subject subject,
475 createContext(subject, callerAcc));
491 * @param subject the <code>Subject</code> that the specified
499 * specified <i>subject</i> and <i>action</i>. <p>
515 public static <T> T doAsPrivileged(final Subject subject,
538 createContext(subject, callerAcc));
541 private static AccessControlContext createContext(final Subject subject,
548 if (subject == null)
553 new SubjectDomainCombiner(subject));
978 Subject subject;
993 SecureSet(Subject subject, int which) {
994 this.subject = subject;
999 SecureSet(Subject subject, int which, Set<? extends E> set) {
1000 this.subject = subject;
1026 subject.getPrincipals()));
1037 if (subject.isReadOnly()) {
1063 if (subject.isReadOnly()) {
1149 subject.getPrincipals()));
1288 fields.put("this$0", subject);
1298 subject = (Subject) fields.get("this$0", null);