Searched refs:sc (Results 1 - 25 of 65) sorted by relevance

123

/glassfish-3.1.2/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/
H A DStartupContextUtil.java68 public static File getInstallRoot(StartupContext sc) { argument
69 return getInstallRoot(sc.getArguments());
76 public static File getInstanceRoot(StartupContext sc) { argument
77 return getInstanceRoot(sc.getArguments());
80 public static String[] getOriginalArguments(StartupContext sc) { argument
81 Properties args = sc.getArguments();
/glassfish-3.1.2/security/ejb.security/src/main/java/com/sun/enterprise/iiop/security/
H A DLookups.java56 private static WeakReference<SecurityContextUtil> sc = new WeakReference<SecurityContextUtil>(null); field in class:Lookups
89 if (sc.get() != null) {
90 return sc.get();
96 if (sc.get() == null) {
97 sc = new WeakReference<SecurityContextUtil>(habitat.getComponent(SecurityContextUtil.class));
99 return sc.get();
H A DSecServerRequestInterceptor.java104 * sc.context_id = SecurityAttributeService.value;
203 ServiceContext sc = null;
214 sc = new ServiceContext();
215 sc.context_id = SECURITY_ATTRIBUTE_SERVICE_ID;
216 sc.context_data = cdr_encoded_saselm;
217 return sc;
228 private void createIdCred(SecurityContext sc, IdentityToken idtok) argument
240 sc.identcls = null;
248 sc.subject.getPublicCredentials().add(new AnonCredential());
249 sc
383 createAuthCred(SecurityContext sc, byte[] authtok, ORB orb) argument
405 handle_null_service_context(ServerRequestInfo ri, ServiceContext sc, ORB orb) argument
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DStatefulSessionContainer.java392 SessionContextImpl sc) {
393 switch (sc.getState()) {
1011 SessionContextImpl sc = (SessionContextImpl) inv.context;
1012 Transaction tc = sc.getTransaction();
1025 + "session: " + sc.getInstanceKey());
1028 sc.setInEjbRemove(true);
1031 CallbackType.PRE_DESTROY, sc);
1036 sc.setInEjbRemove(false);
1038 forceDestroyBean(sc);
1062 SessionContextImpl sc
391 convertCtxStateToString( SessionContextImpl sc) argument
1172 destroyExtendedEMsForContext(SessionContextImpl sc) argument
1392 logTraceInfo(SessionContextImpl sc, String message) argument
1552 doVersionCheck(EjbInvocation inv, Object sessionKey, SessionContextImpl sc) argument
1583 handleConcurrentInvocation(boolean allowSerializedAccess, EjbInvocation inv, SessionContextImpl sc, Object sessionKey) argument
1769 releaseSFSBSerializedLock(EjbInvocation inv, SessionContextImpl sc) argument
1912 getSFSBBeanState(SessionContextImpl sc) argument
1981 txCheckpointCompleted(SessionContextImpl sc) argument
2883 handleEndOfMethodCheckpoint(SessionContextImpl sc, EjbInvocation inv) argument
2919 syncClientVersion(EjbInvocation inv, SessionContextImpl sc) argument
2953 checkpointEJB(SessionContextImpl sc) argument
[all...]
H A DStatelessSessionContainer.java395 void forceDestroyBean(EJBContextImpl sc) { argument
396 if ( sc.getState() == EJBContextImpl.BeanState.DESTROYED )
400 sc.setState(EJBContextImpl.BeanState.DESTROYED);
402 //sessionCtxPool.destroyObject(sc);
403 pool.destroyObject(sc);
574 EJBContextImpl sc = (EJBContextImpl) ejbInv.context;
576 utMethodsAllowed = !sc.isInEjbRemove();
590 SessionContextImpl sc = (SessionContextImpl)inv.context;
593 if ( sc.getState() == EJBContextImpl.BeanState.DESTROYED )
596 sc
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/common/
H A DClientSecurityContext.java98 ClientSecurityContext sc = getCurrent();
99 if (sc == null) { // there is no current security context
101 sc = generateDefaultSecurityContext();
103 return sc;
168 public static void setCurrent(ClientSecurityContext sc) { argument
170 localCsc.set(sc);
172 sharedCsc = sc;
198 public static boolean hasEmtpyCredentials(ClientSecurityContext sc) { argument
199 if (sc == null) {
202 Subject s = sc
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/
H A DApplicationHttpResponse.java279 * @param sc The new status code
283 public void sendError(int sc) throws IOException { argument
286 ((HttpServletResponse) getResponse()).sendError(sc);
294 * @param sc The new status code
299 public void sendError(int sc, String msg) throws IOException { argument
302 ((HttpServletResponse) getResponse()).sendError(sc, msg);
367 * @param sc The new status code
369 public void setStatus(int sc) { argument
372 ((HttpServletResponse) getResponse()).setStatus(sc);
380 * @param sc Th
383 setStatus(int sc, String msg) argument
[all...]
/glassfish-3.1.2/security/webservices.security/src/main/java/com/sun/enterprise/security/webservices/
H A DWebServiceSecurity.java142 SecurityContext sc = SecurityContext.getCurrent();
143 if (sc == null || sc.didServerGenerateCredentials()) {
146 subject = sc.getSubject();
192 SecurityContext sc = SecurityContext.getCurrent();
193 Subject subject = sc.getSubject();
239 ClientSecurityContext sc = ClientSecurityContext.getCurrent();
240 if (sc != null) {
241 subject = sc.getSubject();
244 SecurityContext sc
[all...]
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/
H A DReloadResource.java58 public void reload(@Context Reloader r, @Context ResourceConfig rc , @Context ServerContext sc) { argument
61 ClassLoader apiClassLoader = sc.getCommonClassLoader();
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/
H A DSecurityContext.java221 SecurityContext sc = currentSecCtx.get();
222 if(sc == null) { // there is no current security context...
223 sc = defaultSecurityContext;
225 return sc;
291 public static void reset(SecurityContext sc){ argument
292 setCurrent(sc);
303 SecurityContext sc = currentSecCtx.get();
304 if (sc == null) {
305 sc = defaultSecurityContext;
307 return sc;
322 setCurrent(SecurityContext sc) argument
[all...]
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/
H A DRestConfigChangeListener.java66 private ServerContext sc; field in class:RestConfigChangeListener
69 public RestConfigChangeListener(Habitat habitat, Reloader reload, ResourceConfig rc, ServerContext sc) { argument
72 this.sc = sc;
88 ClassLoader apiClassLoader = sc.getCommonClassLoader();
H A DLazyJerseyInterface.java59 * @param sc the current ServerContext, needed to find the correct classpath
63 GrizzlyAdapter exposeContext(Set classes, ServerContext sc, Habitat habitat) argument
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/jws/
H A DRestrictedContentAdapter.java99 for (Map.Entry<String,StaticContent> sc : content.entrySet()) {
100 cache.put(sc.getKey(), sc.getValue().file());
225 final StaticContent sc = content.get(relativeURIString);
226 if (sc != null && sc.isAvailable()) {
230 finishErrorResponse(gResp, contentStateToResponseStatus(sc));
231 final String scString = (sc == null ? "null" : sc.toString());
232 final String scStateString = (sc
[all...]
/glassfish-3.1.2/tests/embedded/maven-plugin/jsftest/src/test/java/org/glassfish/tests/embedded/jsftest/
H A DJSFTest.java129 SSLContext sc = SSLContext.getInstance("TLS");
130 sc.init(null, trustAllCerts, new SecureRandom());
131 HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
/glassfish-3.1.2/tests/embedded/maven-plugin/jsptest/src/test/java/org/glassfish/tests/embedded/jsptest/
H A DJspTest.java129 SSLContext sc = SSLContext.getInstance("TLS");
130 sc.init(null, trustAllCerts, new SecureRandom());
131 HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
/glassfish-3.1.2/tests/embedded/maven-plugin/secureWebApp/src/test/java/org/glassfish/tests/embedded/securewebapp/
H A DSecureWebAppTest.java128 SSLContext sc = SSLContext.getInstance("TLS");
129 sc.init(null, trustAllCerts, new SecureRandom());
130 HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/realm/ldap/
H A DCustomSocketFactory.java84 SSLContext sc = null;
86 sc = SSLContext.getInstance(SSL);
87 sc.init(sslUtils.getKeyManagers(), sslUtils.getTrustManagers(), SharedSecureRandom.get());
91 socketFactory = sc.getSocketFactory();
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/app/
H A DAppSecurityRole.java74 Set sc = descriptor.getRoles();
75 Iterator itr = sc.iterator();
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/management/client/prefs/
H A DLoginInfoStoreFactory.java92 final Class sc = LoginInfoStore.class;
93 return ( Arrays.asList(ifs).contains(sc) );
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/handlers/
H A DJBISecurityHandler.java84 SecurityContext sc = new SecurityContext(subject);
85 SecurityContext.setCurrent(sc);
97 private String sc_enable = System.getProperty("com.sun.enterprise.jbi.sc.enable");
/glassfish-3.1.2/tests/quicklook/ejb/singleton/src/java/
H A DTestServlet.java60 private ServletContext sc; field in class:TestServlet
66 sc = config.getServletContext();
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/
H A DResponseFacade.java479 public void sendError(int sc, String msg) throws IOException { argument
493 response.sendError(sc, msg);
497 public void sendError(int sc) throws IOException { argument
511 response.sendError(sc);
623 public void setStatus(int sc) { argument
634 response.setStatus(sc);
638 public void setStatus(int sc, String msg) { argument
649 response.setStatus(sc, msg);
/glassfish-3.1.2/ejb/ejb-container/src/main/java/org/glassfish/ejb/security/application/
H A DEJBSecurityManager.java702 SecurityContext sc = null;
709 sc = SecurityContext.getCurrent();
710 Set principalSet = sc.getPrincipalSet();
736 if (sc == null) {
737 sc = SecurityContext.getCurrent();
739 caller = sc.getCallerPrincipal().getName();
853 SecurityContext sc;
856 sc = (SecurityContext) ci.getOldSecurityContext();
858 sc = SecurityContext.getCurrent();
861 if (sc !
[all...]
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/
H A DIdmService.java72 private volatile StartupContext sc = null; field in class:IdmService
97 boolean readStdin = sc.getArguments().containsKey(STDIN_OPTION_TO_ASMAIN);
151 String[] args = StartupContextUtil.getOriginalArguments(sc);
/glassfish-3.1.2/tests/embedded/web/web-api/src/test/java/org/glassfish/tests/embedded/web/
H A DEmbeddedAddHttpsListenerTest.java184 SSLContext sc = SSLContext.getInstance("TLS");
185 sc.init(null, trustAllCerts, new SecureRandom());
186 HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());

Completed in 87 milliseconds

123