Lines Matching defs:subject
6 * The contents of this file are subject to the terms
58 * This subject wraps all OpenAM policy subjects.
74 * @param values Values of this subject.
116 * Returns <code>true</code> if this is an exclusive subject.
118 * @return <code>true</code> if this is an exclusive subject.
151 * Returns state of this subject.
153 * @return state of this subject.
193 * Returns subject decision.
197 * @param subject Subject to be evaluated.
200 * @return subject decision.
207 javax.security.auth.Subject subject,
218 SSOToken token = getSSOToken(subject);
229 private static SSOToken getSSOToken(javax.security.auth.Subject subject) {
230 // subject could be null, a case in point: evaluation ignoring subjects
231 if (subject == null) {
234 Set privateCred = subject.getPrivateCredentials();
245 * Returns <code>true</code> is this subject is an identity object.
247 * @return <code>true</code> is this subject is an identity object.
254 * Constructs a legacy policy subject based on the information in this adapter.
256 * @return the legacy policy subject
257 * @throws EntitlementException if an error occurs constructing the subject.
262 Subject subject = Class.forName(className).asSubclass(Subject.class).newInstance();
263 subject.setValues(values);
264 return subject;