Searched refs:servletCtx (Results 1 - 25 of 42) sorted by relevance

12

/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/configuration/
H A DConfigurationFileLocator.java45 public static String getBootStrapFileName(ServletContext servletCtx) argument
48 if (servletCtx != null) {
49 String path = servletCtx.getResource("/").getPath();
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/configuration/
H A DConfigurationFileLocator.java45 public static String getBootStrapFileName(ServletContext servletCtx) argument
48 if (servletCtx != null) {
49 String path = servletCtx.getResource("/").getPath();
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/setup/
H A DConfiguratorPlugin.java45 * @param servletCtx Servlet Context.
48 void doPostConfiguration(ServletContext servletCtx, SSOToken adminSSOToken); argument
H A DLDIFTemplates.java62 private static void copyRecursively(ServletContext servletCtx, String from, String to) { argument
63 Set<String> resourcePaths = servletCtx.getResourcePaths(from);
68 copyRecursively(servletCtx, resourcePath, to);
71 String content = AMSetupUtils.readFile(servletCtx, resourcePath);
88 * @param servletCtx The servlet context.
90 public static void copy(String dir, ServletContext servletCtx) { argument
92 copyRecursively(servletCtx, PATH_PREFIX + schemaDir, dir);
H A DServiceXMLTemplates.java50 public static void copy(String dir, ServletContext servletCtx) { argument
51 if (servletCtx == null) {
57 Set res = servletCtx.getResourcePaths(classesDir);
62 String content = getContent(templ, servletCtx);
76 ServletContext servletCtx
83 AMSetupUtils.getResourceAsStream(servletCtx, templateName));
/forgerock/openam/openam-core/src/main/java/com/sun/identity/setup/
H A DConfiguratorPlugin.java45 * @param servletCtx Servlet Context.
48 void doPostConfiguration(ServletContext servletCtx, SSOToken adminSSOToken); argument
H A DLDIFTemplates.java62 private static void copyRecursively(ServletContext servletCtx, String from, String to) { argument
63 Set<String> resourcePaths = servletCtx.getResourcePaths(from);
68 copyRecursively(servletCtx, resourcePath, to);
71 String content = AMSetupUtils.readFile(servletCtx, resourcePath);
88 * @param servletCtx The servlet context.
90 public static void copy(String dir, ServletContext servletCtx) { argument
92 copyRecursively(servletCtx, PATH_PREFIX + schemaDir, dir);
H A DServiceXMLTemplates.java50 public static void copy(String dir, ServletContext servletCtx) { argument
51 if (servletCtx == null) {
57 Set res = servletCtx.getResourcePaths(classesDir);
62 String content = getContent(templ, servletCtx);
76 ServletContext servletCtx
83 AMSetupUtils.getResourceAsStream(servletCtx, templateName));
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/idsvcs/
H A DIdentityServicesServlet.java54 private ServletContext servletCtx; field in class:IdentityServicesServlet
60 servletCtx = config.getServletContext();
75 InputStream is = servletCtx.getResourceAsStream(
/forgerock/openam/openam-core/src/main/java/com/sun/identity/idsvcs/
H A DIdentityServicesServlet.java54 private ServletContext servletCtx; field in class:IdentityServicesServlet
60 servletCtx = config.getServletContext();
75 InputStream is = servletCtx.getResourceAsStream(
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/UI/
H A DLoginLogoutMapping.java68 * @param servletCtx servlet config
71 public void init(ServletContext servletCtx) throws ServletException { argument
73 boolean initialized = initializeAuth(servletCtx);
95 * @param servletCtx Servlet Context.
97 public boolean initializeAuth(ServletContext servletCtx) { argument
102 authD.setServletContext(servletCtx);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/UI/
H A DLoginLogoutMapping.java68 * @param servletCtx servlet config
71 public void init(ServletContext servletCtx) throws ServletException { argument
73 boolean initialized = initializeAuth(servletCtx);
95 * @param servletCtx Servlet Context.
97 public boolean initializeAuth(ServletContext servletCtx) { argument
102 authD.setServletContext(servletCtx);
/forgerock/openam-v13/openam-examples/openam-example-clientsdk-war/src/main/java/com/sun/identity/setup/
H A DSetupClientWARSamples.java221 * @param servletCtx ServletContext of the web application
225 public static String getNormalizedRealPath(ServletContext servletCtx) argument
228 if (servletCtx != null) {
229 path = getAppResource(servletCtx);
232 String realPath = servletCtx.getRealPath("/");
251 * @param servletCtx ServletContext of the web application
256 private static String getAppResource(ServletContext servletCtx) argument
258 if (servletCtx != null) {
260 java.net.URL turl = servletCtx.getResource("/");
H A DClientConfiguratorFilter.java54 private ServletContext servletCtx; field in class:ClientConfiguratorFilter
113 servletCtx = filterConfig.getServletContext();
120 SetupClientWARSamples.getNormalizedRealPath(servletCtx) +
/forgerock/openam-v13/openam-federation/OpenFM/src/main/java/com/sun/identity/setup/plugin/
H A DFederationPlugin.java70 * @param servletCtx Servlet Context.
74 ServletContext servletCtx,
77 setXSLFiles(servletCtx);
142 private void setXSLFiles(ServletContext servletCtx) { argument
154 getWebResource("/WEB-INF/classes/is-html.xsl", servletCtx));
156 getWebResource("/WEB-INF/classes/is-wml.xsl", servletCtx));
163 private String getWebResource(String fileName, ServletContext servletCtx) argument
166 servletCtx.getResourceAsStream(fileName));
73 doPostConfiguration( ServletContext servletCtx, SSOToken adminSSOToken ) argument
/forgerock/openam/openam-examples/openam-example-clientsdk-war/src/main/java/com/sun/identity/setup/
H A DSetupClientWARSamples.java221 * @param servletCtx ServletContext of the web application
225 public static String getNormalizedRealPath(ServletContext servletCtx) argument
228 if (servletCtx != null) {
229 path = getAppResource(servletCtx);
232 String realPath = servletCtx.getRealPath("/");
251 * @param servletCtx ServletContext of the web application
256 private static String getAppResource(ServletContext servletCtx) argument
258 if (servletCtx != null) {
260 java.net.URL turl = servletCtx.getResource("/");
H A DClientConfiguratorFilter.java54 private ServletContext servletCtx; field in class:ClientConfiguratorFilter
113 servletCtx = filterConfig.getServletContext();
120 SetupClientWARSamples.getNormalizedRealPath(servletCtx) +
/forgerock/openam/openam-federation/OpenFM/src/main/java/com/sun/identity/setup/plugin/
H A DFederationPlugin.java70 * @param servletCtx Servlet Context.
74 ServletContext servletCtx,
77 setXSLFiles(servletCtx);
142 private void setXSLFiles(ServletContext servletCtx) { argument
154 getWebResource("/WEB-INF/classes/is-html.xsl", servletCtx));
156 getWebResource("/WEB-INF/classes/is-wml.xsl", servletCtx));
163 private String getWebResource(String fileName, ServletContext servletCtx) argument
166 servletCtx.getResourceAsStream(fileName));
73 doPostConfiguration( ServletContext servletCtx, SSOToken adminSSOToken ) argument
/forgerock/openam/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/
H A DCreateFedlet.java126 ServletContext servletCtx = (ServletContext) params.get(ParameterKeys.P_SERVLET_CONTEXT);
127 copyBits(servletCtx, workDir);
128 createFederationConfigProperties(servletCtx, confDir);
135 private void copyBits(ServletContext servletCtx, String workDir) throws WorkflowException { argument
137 copyFile(servletCtx, "/WEB-INF/fedlet/README", workDir + "/README");
140 private void copyFile(ServletContext servletCtx, String source, String dest) argument
148 try (InputStream src = servletCtx.getResourceAsStream(source);
255 private void createFederationConfigProperties(ServletContext servletCtx, String workDir) throws WorkflowException { argument
257 String prop = getBitAsString(servletCtx, "/WEB-INF/fedlet/FederationConfig.properties");
264 private String getBitAsString(ServletContext servletCtx, Strin argument
[all...]
/forgerock/openam-v13/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/
H A DCreateFedlet.java185 ServletContext servletCtx = (ServletContext) params.get(ParameterKeys.P_SERVLET_CONTEXT);
186 copyBits(servletCtx, workDir);
187 extractJars(servletCtx, warDir);
188 createFederationConfigProperties(servletCtx, confDir);
196 private void copyBits(ServletContext servletCtx, String workDir) throws WorkflowException { argument
200 copyFile(servletCtx, "/WEB-INF/fedlet/README", workDir + "/README");
209 copyFile(servletCtx, file, dir + "/" + target);
213 private void extractJars(ServletContext servletCtx, String workDir) throws WorkflowException { argument
223 try (JarInputStream jarInputStream = new JarInputStream(servletCtx.getResourceAsStream(fileName));
244 private void copyFile(ServletContext servletCtx, Strin argument
359 createFederationConfigProperties(ServletContext servletCtx, String workDir) argument
368 getBitAsString(ServletContext servletCtx, String bitName) argument
[all...]
/forgerock/openam-v13/openam-federation/openam-idpdiscovery/src/main/java/com/sun/identity/saml2/idpdiscovery/
H A DConfiguratorFilter.java52 private ServletContext servletCtx; field in class:ConfiguratorFilter
113 servletCtx = filterConfig.getServletContext();
/forgerock/openam/openam-federation/openam-idpdiscovery/src/main/java/com/sun/identity/saml2/idpdiscovery/
H A DConfiguratorFilter.java52 private ServletContext servletCtx; field in class:ConfiguratorFilter
113 servletCtx = filterConfig.getServletContext();
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/realm/model/
H A DIDRepoModel.java154 void loadIdRepoSchema(String idRepoName, String realmName, ServletContext servletCtx) argument
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/realm/model/
H A DIDRepoModel.java154 void loadIdRepoSchema(String idRepoName, String realmName, ServletContext servletCtx) argument
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/realm/
H A DIDRepoAddViewBean.java158 ServletContext servletCtx = event.getRequestContext().getServletContext();
159 model.loadIdRepoSchema(idRepoName,realmName,servletCtx);

Completed in 2054 milliseconds

12