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

12

/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/common/iiop/security/
H A DSecurityContext.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
59 * A subject is used a container for passing the security context
61 * information in the subject must be stored either as a private or
113 public Subject subject; field in class:SecurityContext
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/common/
H A DAbstractSecurityContext.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
58 protected Subject subject = null; field in class:AbstractSecurityContext
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/data/
H A DProgressTracker.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
55 public synchronized <T> void add(String name, Class<T> type, T subject) { argument
59 subjects.get(name).add(subject);
64 public <T> void add(Class<T> type, T subject) { argument
65 add(type.getName(), type, subject);
69 for (T subject : subjects) {
70 add(type, subject);
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/
H A DDSManagedConnectionFactory.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
84 * @param subject <code>Subject</code> instance passed by the application server
97 public javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject, argument
100 PasswordCredential pc = SecurityUtils.getPasswordCredential(this, subject, cxRequestInfo);
H A DDMManagedConnectionFactory.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
94 * @param subject <code>Subject</code> instance passed by the application server
105 public javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject, argument
111 PasswordCredential pc = SecurityUtils.getPasswordCredential(this, subject, cxRequestInfo);
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/util/
H A DSecurityUtils.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
69 * the <code>ManagedConnectionFactory</code>, subject and the
82 * @param subject <code>Subject</code>
89 final Subject subject, javax.resource.spi.ConnectionRequestInfo info) throws ResourceException {
92 if (subject == null) {
98 Set passwdCredentialSet = subject.getPrivateCredentials(PasswordCredential.class);
88 getPasswordCredential(final ManagedConnectionFactory mcf, final Subject subject, javax.resource.spi.ConnectionRequestInfo info) argument
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/jauth/
H A DClientAuthContext.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
102 * @param subject the subject may be used by configured modules
115 javax.security.auth.Subject subject,
130 * @param subject the subject may be used by configured modules
141 javax.security.auth.Subject subject,
152 * @param subject th
114 secureRequest(AuthParam param, javax.security.auth.Subject subject, java.util.Map sharedState) argument
140 validateResponse(AuthParam param, javax.security.auth.Subject subject, java.util.Map sharedState) argument
160 disposeSubject(javax.security.auth.Subject subject, java.util.Map sharedState) argument
[all...]
H A DServerAuthContext.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
105 * @param subject the subject may be used by configured modules
125 javax.security.auth.Subject subject,
138 * @param subject the subject may be used by configured modules
150 javax.security.auth.Subject subject,
161 * @param subject th
124 validateRequest(AuthParam param, javax.security.auth.Subject subject, java.util.Map sharedState) argument
149 secureResponse(AuthParam param, javax.security.auth.Subject subject, java.util.Map sharedState) argument
169 disposeSubject(javax.security.auth.Subject subject, java.util.Map sharedState) argument
[all...]
H A DClientAuthModule.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
103 * @param subject the subject may be used by configured modules
116 Subject subject,
129 * @param subject the subject may be used by configured modules
140 Subject subject,
150 * @param subject Subjec
115 secureRequest(AuthParam param, Subject subject, Map sharedState) argument
139 validateResponse(AuthParam param, Subject subject, Map sharedState) argument
158 disposeSubject(Subject subject, Map sharedState) argument
[all...]
H A DServerAuthModule.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
104 * @param subject the subject may be used by configured modules
124 Subject subject,
135 * @param subject the subject may be used by configured modules
147 Subject subject,
157 * @param subject th
123 validateRequest(AuthParam param, Subject subject, Map sharedState) argument
146 secureResponse(AuthParam param, Subject subject, Map sharedState) argument
165 disposeSubject(Subject subject, Map sharedState) argument
[all...]
/glassfish-3.1.2/security/javax.security.auth.message/src/main/java/javax/security/auth/message/
H A DClientAuth.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
184 * subject.
192 * @param subject The Subject instance from which the Principals and
199 void cleanSubject(MessageInfo messageInfo, Subject subject) argument
H A DServerAuth.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
190 * Remove method specific principals and credentials from the subject.
198 * @param subject the Subject instance from which the Principals and
205 void cleanSubject(MessageInfo messageInfo, Subject subject) argument
/glassfish-3.1.2/security/javax.security.auth.message/src/main/java/javax/security/auth/message/callback/
H A DCallerPrincipalCallback.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
56 private Subject subject; field in class:CallerPrincipalCallback
81 subject = s;
107 subject = s;
116 * @return The subject.
119 return subject;
H A DGroupPrincipalCallback.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
48 * Callback establishing group principals within the argument subject.
56 private Subject subject; field in class:GroupPrincipalCallback
81 subject = s;
89 * @return The subject.
92 return subject;
H A DPasswordValidationCallback.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
58 private Subject subject; field in class:PasswordValidationCallback
66 * @param subject The subject for authentication
73 Subject subject, String username, char[] password) {
74 this.subject = subject;
82 * Get the subject
72 PasswordValidationCallback( Subject subject, String username, char[] password) argument
[all...]
/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/
H A DManagedConnection.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
84 * @param subject security context as JAAS subject
102 Object getConnection(Subject subject, argument
H A DManagedConnectionFactory.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
105 * @param subject Caller's security information
121 Subject subject,
139 * @param subject caller's security information
154 Subject subject,
120 createManagedConnection( Subject subject, ConnectionRequestInfo cxRequestInfo) argument
152 matchManagedConnections( Set connectionSet, Subject subject, ConnectionRequestInfo cxRequestInfo) argument
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/security/integration/
H A DAppServSecurityContext.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
77 public AppServSecurityContext newInstance(String userName, Subject subject, String realm); argument
82 public AppServSecurityContext newInstance(String userName, Subject subject); argument
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/allocator/
H A DConnectorAllocator.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
147 Subject subject,
152 super(poolMgr, mcf, spec, subject, reqInfo, info, desc);
161 mcf.createManagedConnection(subject, reqInfo);
189 Object con = mc.getConnection(subject, reqInfo);
144 ConnectorAllocator(PoolManager poolMgr, ManagedConnectionFactory mcf, ResourceSpec spec, Subject subject, ConnectionRequestInfo reqInfo, ClientSecurityInfo info, ConnectorDescriptor desc, boolean shareable) argument
H A DLocalTxConnectorAllocator.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
68 Subject subject,
72 super(poolMgr, mcf, spec, subject, reqInfo, info, desc);
87 ManagedConnection mc = mcf.createManagedConnection(subject, reqInfo);
119 Object con = mc.getConnection(subject, reqInfo);
65 LocalTxConnectorAllocator(PoolManager poolMgr, ManagedConnectionFactory mcf, ResourceSpec spec, Subject subject, ConnectionRequestInfo reqInfo, ClientSecurityInfo info, ConnectorDescriptor desc, boolean shareable) argument
H A DNoTxConnectorAllocator.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
117 Subject subject,
121 super(poolMgr, mcf, spec, subject, reqInfo, info, desc);
129 mcf.createManagedConnection(subject, reqInfo);
156 Object con = mc.getConnection(subject, reqInfo);
114 NoTxConnectorAllocator(PoolManager poolMgr, ManagedConnectionFactory mcf, ResourceSpec spec, Subject subject, ConnectionRequestInfo reqInfo, ClientSecurityInfo info, ConnectorDescriptor desc) argument
/glassfish-3.1.2/transaction/internal-api/src/main/java/com/sun/enterprise/transaction/api/
H A DXAResourceWrapper.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
66 protected Subject subject; field in class:XAResourceWrapper
68 public void init(ManagedConnection xacon,Subject subject){ argument
70 this.subject = subject;
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/login/
H A DClientPasswordLoginModule.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
75 private Subject subject; field in class:ClientPasswordLoginModule
99 * @param subject the <code>Subject</code> to be authenticated. <p>
111 public void initialize(Subject subject, CallbackHandler callbackHandler, argument
114 this.subject = subject;
247 if (!subject.getPrincipals().contains(userPrincipal)){
248 subject
[all...]
H A DDigestLoginModule.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
72 private Subject subject = null; field in class:DigestLoginModule
87 public final void initialize(Subject subject, CallbackHandler handler, Map<String, ?> sharedState, Map<String, ?> options) { argument
88 this.subject = subject;
98 Set<Object> creds = this.subject.getPrivateCredentials();
138 java.util.Set principalSet = this.subject.getPrincipals();
179 subject
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/realm/certificate/
H A DCertificateRealm.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
142 requires RI fixes to handle subject & principal names
238 * @param subject The Subject object for the authentication request.
242 public void authenticate(Subject subject, X500Name x500name)
256 Set principalSet = subject.getPrincipals();
264 new SecurityContext(name, subject);
282 * @param subject The Subject object for the authentication request.
286 public void authenticate(Subject subject, X500Nam argument
[all...]

Completed in 84 milliseconds

12