Author: prabath Date: Mon Jun 29 03:41:21 2009 New Revision: 40292 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=40292
Log: style package name changes Modified: branches/solutions/identity/2.0/product/modules/distribution/src/assembly/dist.xml branches/solutions/identity/2.0/product/modules/documentation/src/site/xdoc/userguide.xml branches/solutions/identity/2.0/product/modules/styles/src/main/java/org/wso2/identity/styles/internal/Activator.java Modified: branches/solutions/identity/2.0/product/modules/distribution/src/assembly/dist.xml URL: http://wso2.org/svn/browse/wso2/branches/solutions/identity/2.0/product/modules/distribution/src/assembly/dist.xml?rev=40292&r1=40291&r2=40292&view=diff ============================================================================== --- branches/solutions/identity/2.0/product/modules/distribution/src/assembly/dist.xml (original) +++ branches/solutions/identity/2.0/product/modules/distribution/src/assembly/dist.xml Mon Jun 29 03:41:21 2009 @@ -8,7 +8,7 @@ <outputDirectory>wso2is-${pom.version}/webapps/ROOT/WEB-INF/plugins/console</outputDirectory> <includes> - <include>org.wso2.solutions.identity:org.wso2.identity.styles:jar</include> + <include>org.wso2.identity:org.wso2.identity.styles:jar</include> <include>org.wso2.carbon:org.wso2.carbon.rm.ui:jar</include> <include>org.wso2.carbon:org.wso2.carbon.security.mgt.ui:jar</include> Modified: branches/solutions/identity/2.0/product/modules/documentation/src/site/xdoc/userguide.xml URL: http://wso2.org/svn/browse/wso2/branches/solutions/identity/2.0/product/modules/documentation/src/site/xdoc/userguide.xml?rev=40292&r1=40291&r2=40292&view=diff ============================================================================== --- branches/solutions/identity/2.0/product/modules/documentation/src/site/xdoc/userguide.xml (original) +++ branches/solutions/identity/2.0/product/modules/documentation/src/site/xdoc/userguide.xml Mon Jun 29 03:41:21 2009 @@ -1,93 +1,80 @@ -<!-- - ~ Licensed to the Apache Software Foundation (ASF) under one - ~ or more contributor license agreements. See the NOTICE file - ~ distributed with this work for additional information - ~ regarding copyright ownership. The ASF licenses this file - ~ to you under the Apache License, Version 2.0 (the - ~ "License"); you may not use this file except in compliance - ~ with the License. You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, - ~ software distributed under the License is distributed on an - ~ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - ~ KIND, either express or implied. See the License for the - ~ specific language governing permissions and limitations - ~ under the License. - --> + <!-- + ~ Licensed to the Apache Software Foundation (ASF) under one ~ or more + contributor license agreements. See the NOTICE file ~ distributed with + this work for additional information ~ regarding copyright ownership. + The ASF licenses this file ~ to you under the Apache License, Version + 2.0 (the ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at ~ ~ + http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by + applicable law or agreed to in writing, ~ software distributed under + the License is distributed on an ~ * "AS IS" BASIS, WITHOUT WARRANTIES + OR CONDITIONS OF ANY ~ KIND, either express or implied. See the + License for the ~ specific language governing permissions and + limitations ~ under the License. + --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/> - <title>Welcome to WSO2 Identity Server v2.0.0!</title> - <link href="css/is-docs.css" rel="stylesheet"/> - </head> -<body> + <head> + <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> + <title>Welcome to WSO2 Identity Server v2.0.0!</title> + <link href="css/is-docs.css" rel="stylesheet" /> + </head> + <body> + + <h2>Identity Server - User Guide</h2> + + <ul> + <li><a href="#t1">How to sign up as a new user?</a></li> + <li><a href="#t2">How to login to Identity Server as a user?</a></li> + <li><a href="#t3">How to use an external OpenID to log in to Identity Server?</a></li> + <li><a href="#t4">How to get a Managed Information Card?</a></li> + <li><a href="#t5">How to get an OpenID Information Card?</a></li> + <li><a href="#t6">How to get an OpenID?</a></li> + <li><a href="#t7">How to add a trusted Relying Party?</a></li> + <li><a href="#t8">How to enable XMPP based authentication for OpenIDs?</a></li> + </ul> + + <h3><a name="t1">How to sign up as a new user?</a></h3> + <p>You can sign up as a new user wither with a self-issued information card or with user name password based account</p> + <p>From the home page click on the "Sign-up" under the menu "Identity" </p> + <p><img alt="Sign-up" src="./images/userreg.png" /></p> + + <h3><a name="t2">How to login to Identity Server as a user?</a></h3> + <p>You can login WSO2 Identity Server with a registered self-issued information card or with user name password based account.</p> + <p>From the home page click on the "InfoCard/OpenID Sign-in" under the menu "Identity" </p> + <p><img alt="Sign-in" src="./images/signin1.png" /></p> + + <h3><a name="t3">How to use an external OpenID to log in to Identity Server?</a></h3> + <p>From the home page click on the "Sign-in" under the menu "Identity"</p> + <p>Enter your external OpenID there.</p> + <p>Once you return back from your OpenID Provider to the Identity Server, you can either create a new account with it or + associate that OpenID with an existing user account</p> + + <h3><a name="t4">How to get a Managed Information Card?</a></h3> + <p>Once you logged in to the Identity Server, you can download a managed information card against your profile.</p> + <p>Click on the "InfoCard/OpenID Dashboard" under the menu "My Identity"</p> + <p><img alt="Managed InfoCard" src="./images/dashboardinfocard.png" /></p> + + <h3><a name="t5">How to get an OpenID Information Card?</a> </h3> + <p>Once you logged in to the Identity Server, you can download an OpenID information card against your profile.</p> + <p>Click on the "InfoCard/OpenID Dashboard" under the menu "My Identity"</p> + <p><img alt="OpenID InfoCard" src="./images/dashboardopinfo.png" /></p> + + <h3><a name="t6">How to get an OpenID?</a></h3> + <p>Once you register with the Identity Server, you are automatically assigned an OpenID.</p> + <p>Click on the "InfoCard/OpenID Dashboard" under the menu "My Identity"</p> + <p><img alt="OpenID" src="./images/dashboard.png" /></p> + + <h3><a name="t7">How to add a trusted Relying Party?</a></h3> + <p>Once you logged in to the Identity Server, you can upload the public certificates of the trusted relying parties.</p> + <p>Click on the "Relying Parties" under the menu "My Identity"</p> + <p><img alt="Trusted RP" src="./images/rp1.png" /></p> + + <h3><a name="t8">How to enable XMPP based authentication for OpenIDs?</a></h3> + <p>Once you logged in to the Identity Server, you can configure to enable XMPP based authentication for OpenIDs.</p> + <p>Click on the "Multifactor Authentication" under the menu "My Identity"</p> + <p><img alt="XMPP" src="./images/xmpp_config.png" /></p> -<h2>Identity Server - User Guide</h2> - -<p>Users can login to Identity Server and manage their identity under the My Identity tab</p> - -<ul> -<li><a href="#t1">How to sign up as a new user?</a></li> -<li><a href="#t2">How to login to Identity Server as a user?</a></li> -<li><a href="#t3">How to use an external OpenID to log in to Identity Server?</a></li> -<li><a href="#t4">How to get a Managed Information Card?</a></li> -<li><a href="#t5">How to get an OpenID Information Card?</a></li> -<li><a href="#t6">How to get an OpenID?</a></li> -<li><a href="#t7">How to add a trusted Relying Party?</a></li> -<li><a href="#t8">How to enable XMPP based authentication for OpenIDs?</a></li> -</ul> - -<h3><a name="t1">How to sign up as a new user?</a></h3> -<p>You can sign up as a new user wither with a self-issued information card or with user name/password based account</p> -<p>From the home page click on the 'Sign-up' under the menu 'Identity'</p> - -<p><img alt="Sign-up" src="./images/userreg.png" /></p> - -<h3><a name="t2">How to login to Identity Server as a user?</a></h3> -<p>You can login WSO2 Identity Server with a registered self-issued information card or with user name password based account.</p> -<p>From the home page click on the 'InfoCard/OpenID Sign-in' under the menu 'Identity'</p> - -<p><img alt="Sign-in" src="./images/signin1.png" /></p> - -<h3><a name="t3">How to use an external OpenID to log in to Identity Server?</a></h3> -<p>From the home page click on the 'Sign-in' under the menu 'Identity'</p> -<p>Enter your external OpenID there.</p> -<p>Once you return back from your OpenID Provider to the Identity Server, you can either create a new account with it or - associate that OpenID with an existing user account</p> - -<h3><a name="t4">How to get a Managed Information Card?</a></h3> -<p>Once you logged in to the Identity Server, you can download a managed information card against your profile.</p> -<p>Click on the 'InfoCard/OpenID Dashboard' under the menu 'My Identity'</p> - -<p><img alt="Managed InfoCard" src="./images/dashboardinfocard.png" /></p> - -<h3><a name="t5">How to get an OpenID Information Card?</a></h3> -<p>Once you logged in to the Identity Server, you can download an OpenID information card against your profile.</p> -<p>Click on the 'InfoCard/OpenID Dashboard' under the menu 'My Identity'</p> - -<p><img alt="OpenID InfoCard" src="./images/dashboardopinfo.png" /></p> - -<h3><a name="t6">How to get an OpenID?</a></h3> -<p>Once you register with the Identity Server, you are automatically assigned an OpenID.</p> -<p>Click on the 'InfoCard/OpenID Dashboard' under the menu 'My Identity'</p> - -<p><img alt="OpenID" src="./images/dashboard.png" /></p> - -<h3><a name="t7">How to add a trusted Relying Party?</a></h3> -<p>Once you logged in to the Identity Server, you can upload the public certificates of the trusted relying parties.</p> -<p>Click on the 'Relying Parties' under the menu 'My Identity'</p> - -<p><img alt="Trusted RP" src="./images/rp1.png" /></p> - -<h3><a name="t8">How to enable XMPP based authentication for OpenIDs?</a></h3> -<p>Once you logged in to the Identity Server, you can configure to enable XMPP based authentication for OpenIDs.</p> -<p>Click on the 'Multifactor Authentication' under the menu 'My Identity'</p> - -<p><img alt="XMPP" src="./images/xmpp_config.png" /></p> - -</body> + </body> </html> Modified: branches/solutions/identity/2.0/product/modules/styles/src/main/java/org/wso2/identity/styles/internal/Activator.java URL: http://wso2.org/svn/browse/wso2/branches/solutions/identity/2.0/product/modules/styles/src/main/java/org/wso2/identity/styles/internal/Activator.java?rev=40292&r1=40291&r2=40292&view=diff ============================================================================== --- branches/solutions/identity/2.0/product/modules/styles/src/main/java/org/wso2/identity/styles/internal/Activator.java (original) +++ branches/solutions/identity/2.0/product/modules/styles/src/main/java/org/wso2/identity/styles/internal/Activator.java Mon Jun 29 03:41:21 2009 @@ -1,46 +1,46 @@ -package org.wso2.solutions.identity.styles.internal; - -import org.osgi.framework.BundleActivator; -import org.osgi.framework.BundleContext; -import org.osgi.framework.ServiceReference; -import org.osgi.service.http.HttpService; -import org.osgi.service.http.HttpContext; -import org.wso2.carbon.ui.DefaultComponentEntryHttpContext; -import org.eclipse.equinox.http.helper.ContextPathServletAdaptor; -import org.eclipse.equinox.jsp.jasper.JspServlet; - -import javax.servlet.Servlet; - -public class Activator implements BundleActivator { - - private static String CONTEXT = "/styles"; - - private static String INTERNAL_CONTEXT = "/web"; - - public void start(BundleContext bundleContext) throws Exception { - - ServiceReference reference = bundleContext.getServiceReference(HttpService.class.getName()); - if (reference != null) { - final HttpService httpService = (HttpService) bundleContext.getService(reference); - try { - HttpContext commonContext = - new DefaultComponentEntryHttpContext(bundleContext.getBundle(), INTERNAL_CONTEXT); - - //register our .jsp files at the httpService - Servlet servlet = new ContextPathServletAdaptor( - new JspServlet(bundleContext.getBundle(), "/web"), CONTEXT); - httpService.registerResources(CONTEXT, "/", commonContext); - } catch (Exception e) { - //TODO what should we do here ??? - throw e; - } - } else { - throw new Exception("HttpService is not found."); - } - } - - public void stop(BundleContext context) throws Exception { - - } - -} +package org.wso2.identity.styles.internal; + +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; +import org.osgi.framework.ServiceReference; +import org.osgi.service.http.HttpService; +import org.osgi.service.http.HttpContext; +import org.wso2.carbon.ui.DefaultComponentEntryHttpContext; +import org.eclipse.equinox.http.helper.ContextPathServletAdaptor; +import org.eclipse.equinox.jsp.jasper.JspServlet; + +import javax.servlet.Servlet; + +public class Activator implements BundleActivator { + + private static String CONTEXT = "/styles"; + + private static String INTERNAL_CONTEXT = "/web"; + + public void start(BundleContext bundleContext) throws Exception { + + ServiceReference reference = bundleContext.getServiceReference(HttpService.class.getName()); + if (reference != null) { + final HttpService httpService = (HttpService) bundleContext.getService(reference); + try { + HttpContext commonContext = + new DefaultComponentEntryHttpContext(bundleContext.getBundle(), INTERNAL_CONTEXT); + + //register our .jsp files at the httpService + Servlet servlet = new ContextPathServletAdaptor( + new JspServlet(bundleContext.getBundle(), "/web"), CONTEXT); + httpService.registerResources(CONTEXT, "/", commonContext); + } catch (Exception e) { + //TODO what should we do here ??? + throw e; + } + } else { + throw new Exception("HttpService is not found."); + } + } + + public void stop(BundleContext context) throws Exception { + + } + +} _______________________________________________ Identity-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/identity-dev
