Searched defs:subject (Results 1 - 25 of 50) sorted by relevance

12

/openjdk7/jdk/src/share/classes/com/sun/security/auth/
H A DPrincipalComparator.java8 * particular file as subject to the "Classpath" exception as provided
63 boolean implies(javax.security.auth.Subject subject); argument
H A DSubjectCodeSource.java8 * particular file as subject to the "Classpath" exception as provided
43 * (that represent a "subject" in a <code>Policy</code>).
59 private Subject subject; field in class:SubjectCodeSource
80 * @param subject the <code>Subject</code> associated with this
89 SubjectCodeSource(Subject subject, argument
94 this.subject = subject;
133 return subject;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/subject/
H A Dpackage-info.java8 * particular file as subject to the "Classpath" exception as provided
37 * each subject is always linked to one service, port and binding element. That
41 package com.sun.xml.internal.ws.policy.subject;
H A DPolicyMapKeyConverter.java8 * particular file as subject to the "Classpath" exception as provided
26 package com.sun.xml.internal.ws.policy.subject;
31 import com.sun.xml.internal.ws.policy.subject.WsdlBindingSubject.WsdlMessageType;
51 public PolicyMapKey getPolicyMapKey(final WsdlBindingSubject subject) { argument
52 LOGGER.entering(subject);
55 if (subject.isBindingSubject()) {
58 else if (subject.isBindingOperationSubject()) {
59 key = PolicyMap.createWsdlOperationScopeKey(this.serviceName, this.portName, subject.getName());
61 else if (subject.isBindingMessageSubject()) {
62 if (subject
[all...]
/openjdk7/jdk/src/share/classes/javax/security/auth/
H A DPolicy.java8 * particular file as subject to the "Classpath" exception as provided
43 * PermissionCollection perms = policy.getPermissions(subject,
50 * provided <i>subject</i>, and granted to the code specified
93 * code invokes the <code>Subject.doAs(subject, ...)</code> method.
325 * @param subject the <code>Subject</code>
340 * the provided <i>subject</i> and <i>cs</i>
344 (Subject subject,
343 getPermissions(Subject subject, java.security.CodeSource cs) argument
H A DSubjectDomainCombiner.java8 * particular file as subject to the "Classpath" exception as provided
49 private Subject subject; field in class:SubjectDomainCombiner
73 * @param subject the <code>Subject</code> to be associated with
76 public SubjectDomainCombiner(Subject subject) { argument
77 this.subject = subject;
79 if (subject.isReadOnly()) {
80 principalSet = subject.getPrincipals();
107 return subject;
159 if (subject
[all...]
/openjdk7/jdk/src/share/classes/javax/security/auth/spi/
H A DLoginModule.java8 * particular file as subject to the "Classpath" exception as provided
144 * @param subject the <code>Subject</code> to be authenticated. <p>
156 void initialize(Subject subject, CallbackHandler callbackHandler, argument
/openjdk7/jdk/src/share/classes/java/security/
H A DAuthProvider.java8 * particular file as subject to the "Classpath" exception as provided
71 * @param subject the <code>Subject</code> which may contain
87 public abstract void login(Subject subject, CallbackHandler handler) argument
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/security/
H A DJMXSubjectDomainCombiner.java8 * particular file as subject to the "Classpath" exception as provided
58 // the supplied subject.
87 * Get the current AccessControlContext combined with the supplied subject.
89 public static AccessControlContext getContext(Subject subject) { argument
91 new JMXSubjectDomainCombiner(subject));
96 * the supplied subject, i.e. an AccessControlContext with the domain
97 * combiner created with the supplied subject and where the caller's
101 getDomainCombinerContext(Subject subject) { argument
104 new JMXSubjectDomainCombiner(subject));
H A DNotificationAccessController.java8 * particular file as subject to the "Classpath" exception as provided
56 * @param subject the authenticated subject representing the remote client.
59 * authenticated subject does not have the rights to add a listener
64 Subject subject)
77 * @param subject the authenticated subject representing the remote client.
80 * authenticated subject does not have the rights to remove a listener
85 Subject subject)
92 * listener represented by the authenticated subject
62 addNotificationListener(String connectionId, ObjectName name, Subject subject) argument
83 removeNotificationListener(String connectionId, ObjectName name, Subject subject) argument
105 fetchNotification(String connectionId, ObjectName name, Notification notification, Subject subject) argument
[all...]
H A DSubjectDelegator.java8 * particular file as subject to the "Classpath" exception as provided
49 delegate to that subject, throw SecurityException. */
64 // delegated subject from the cache
69 // delegated subject into an array of principals
79 // given delegated subject from the cache
84 // when executing code as the delegated subject
99 // Check if the subject delegation permission allows the
100 // authenticated subject to assume the identity of each
101 // principal in the delegated subject
124 * principal in the authenticated subject,
132 checkRemoveCallerContext(Subject subject) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/
H A DPolicyMapExtender.java8 * particular file as subject to the "Classpath" exception as provided
46 public void putServiceSubject(final PolicyMapKey key, final PolicySubject subject) { argument
47 getMap().putSubject(PolicyMap.ScopeType.SERVICE, key, subject);
50 public void putEndpointSubject(final PolicyMapKey key, final PolicySubject subject) { argument
51 getMap().putSubject(PolicyMap.ScopeType.ENDPOINT, key, subject);
54 public void putOperationSubject(final PolicyMapKey key, final PolicySubject subject) { argument
55 getMap().putSubject(PolicyMap.ScopeType.OPERATION, key, subject);
58 public void putInputMessageSubject(final PolicyMapKey key, final PolicySubject subject) { argument
59 getMap().putSubject(PolicyMap.ScopeType.INPUT_MESSAGE, key, subject);
62 public void putOutputMessageSubject(final PolicyMapKey key, final PolicySubject subject) { argument
66 putFaultMessageSubject(final PolicyMapKey key, final PolicySubject subject) argument
[all...]
H A DPolicyScope.java8 * particular file as subject to the "Classpath" exception as provided
52 void attach(final PolicySubject subject) { argument
53 if (subject == null) {
57 subjects.add(subject);
71 for (PolicySubject subject : subjects) {
72 policies.add(subject.getEffectivePolicy(merger));
H A DPolicySubject.java8 * particular file as subject to the "Classpath" exception as provided
45 private final Object subject; field in class:PolicySubject
48 * Constructs a policy subject instance.
50 * @param subject object to which the policies are attached. Must not be {@code null}.
51 * @param policy first policy attached to the subject. Must not be {@code null}.
55 public PolicySubject(Object subject, Policy policy) throws IllegalArgumentException { argument
56 if (subject == null || policy == null) {
57 throw LOGGER.logSevereException(new IllegalArgumentException(LocalizationMessages.WSP_0021_SUBJECT_AND_POLICY_PARAM_MUST_NOT_BE_NULL(subject, policy)));
60 this.subject = subject;
73 PolicySubject(Object subject, Collection<Policy> policies) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DSubjectComber.java8 * particular file as subject to the "Classpath" exception as provided
56 static <T> T find(Subject subject, String serverPrincipal, argument
59 return (T)findAux(subject, serverPrincipal, clientPrincipal, credClass,
63 static <T> List<T> findMany(Subject subject, String serverPrincipal, argument
66 return (List<T>)findAux(subject, serverPrincipal, clientPrincipal, credClass,
72 * in the subject. Returns null if the subject is null.
76 private static <T> Object findAux(Subject subject, String serverPrincipal, argument
79 if (subject == null) {
87 subject
[all...]
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DCertificatePolicyMap.java8 * particular file as subject to the "Classpath" exception as provided
46 * @param subject the CertificatePolicyId for the subject CA.
49 CertificatePolicyId subject) {
51 this.subjectDomain = subject;
75 * Return the subject CA part of the policy map.
48 CertificatePolicyMap(CertificatePolicyId issuer, CertificatePolicyId subject) argument
/openjdk7/jdk/test/javax/security/auth/login/LoginContext/
H A DDefaultHandlerModule.java34 private Subject subject; field in class:DefaultHandlerModule
43 public void initialize(Subject subject, CallbackHandler callbackHandler, argument
46 this.subject = subject;
H A DModuleSubjectModule.java34 private Subject subject; field in class:ModuleSubjectModule
46 public void initialize(Subject subject, CallbackHandler callbackHandler, argument
49 this.subject = subject;
68 subject.getPrincipals().add(p);
/openjdk7/jdk/src/share/classes/javax/management/remote/rmi/
H A DRMIIIOPServerImpl.java8 * particular file as subject to the "Classpath" exception as provided
105 * @param subject the authenticated subject. Can be null.
112 protected RMIConnection makeClient(String connectionId, Subject subject) argument
120 subject, env);
H A DRMIJRMPServerImpl.java8 * particular file as subject to the "Classpath" exception as provided
159 * @param subject the authenticated subject. Can be null.
166 protected RMIConnection makeClient(String connectionId, Subject subject) argument
174 subject, env);
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DDLSInfo.java8 * particular file as subject to the "Classpath" exception as provided
36 * (INAM) Title or subject.
94 public String subject = null; field in class:DLSInfo
/openjdk7/jdk/src/share/classes/com/sun/security/auth/module/
H A DNTLoginModule.java8 * particular file as subject to the "Classpath" exception as provided
65 private Subject subject; field in class:NTLoginModule
91 * @param subject the <code>Subject</code> to be authenticated. <p>
105 public void initialize(Subject subject, CallbackHandler callbackHandler, argument
110 this.subject = subject;
251 if (subject.isReadOnly()) {
254 Set<Principal> principals = subject.getPrincipals();
280 Set<Object> pubCreds = subject.getPublicCredentials();
351 if (subject
[all...]
H A DSolarisLoginModule.java8 * particular file as subject to the "Classpath" exception as provided
59 private Subject subject; field in class:SolarisLoginModule
86 * @param subject the <code>Subject</code> to be authenticated. <p>
98 public void initialize(Subject subject, CallbackHandler callbackHandler, argument
103 this.subject = subject;
198 if (subject.isReadOnly()) {
201 if (!subject.getPrincipals().contains(userPrincipal))
202 subject.getPrincipals().add(userPrincipal);
203 if (!subject
[all...]
H A DUnixLoginModule.java8 * particular file as subject to the "Classpath" exception as provided
53 private Subject subject; field in class:UnixLoginModule
80 * @param subject the <code>Subject</code> to be authenticated. <p>
92 public void initialize(Subject subject, CallbackHandler callbackHandler, argument
96 this.subject = subject;
192 if (subject.isReadOnly()) {
196 if (!subject.getPrincipals().contains(userPrincipal))
197 subject.getPrincipals().add(userPrincipal);
198 if (!subject
[all...]
/openjdk7/jdk/test/sun/security/provider/PolicyFile/
H A DComparator.java101 public boolean implies (Subject subject) { argument
102 if (subject.getPrincipals().contains(p1[0])) {
116 public boolean implies (Subject subject) { argument
117 if (subject.getPrincipals().contains(p2[0]) &&
118 subject.getPrincipals().contains(p2[1])) {
132 public boolean implies (Subject subject) { argument

Completed in 75 milliseconds

12