I have a several WAB packages with JSF pages. I know how to create simple JSF login page. The problem is how the WAB packages can share the user sessions? I want one login menu to register sessions for all WAB packages.
How to share login sessions in WAB packages
272 Views Asked by user1285928 At
1
There are 1 best solutions below
Related Questions in SESSION
- Access property of an object of type [Model] in JQuery
- __PHP_Incomplete_Class Object even though class is included before session started
- Safari Extension not geting session Info
- Laravel: Locale Session: Controller gets Parameter to change it but it cant. U have to hardcode it
- Does OPEN SYMMETRIC KEY (SQL Server) remain in scope on a server farm?
- Superagent share session / cookie info with actual browser
- Session Destroyed on page refresh
- MVC Referencing strongly typed session objects on my view
- What is the best way to persist a global array in php?
- Error in indicies while unsetting Sessions
- Server side PHP session is not working in android
- Laravel - session data survives log-out/log-in, even for different users
- The page isn't redirecting properly when I logout
- Session array unset and delete row
- Validating a login using PHP
Related Questions in JAKARTA-EE
- Which Should i use for date,time,email in servlet?
- Simple JavaEE HTML GET/POST application
- Updating the message contents for a MessageDialog wicket
- Access roles from multiple applications
- How to compile an individual jsp file from command line
- DB2, Hibernate, JPA: Schema does not exist
- Spring load a file
- Execute RequestDispatcher after 5 seconds
- Hibernate Lazy loading not work in OneToOne relation
- Websphere 8.5.5 - shared session context not working
- withSchedule(ScheduleBuilder<SBT>) in the type TriggerBuilder<Trigger> is not applicable for arguments (MutableTrigger)
- Setting response header using interceptor?
- How to use the same ContainerRequestFilter for multiple projects?
- [Ljava.lang.Object; cannot be cast to List from a request SQL
- which should i use in request.getParameter in servlet?
Related Questions in GLASSFISH
- Simple JavaEE HTML GET/POST application
- Access roles from multiple applications
- GlassFish sometimes doesn't load my web apps
- How to configure custom access-log format for Glassfish-4.1 (worked in v3.1.2.2, ignored in v4.1)
- File upload via h:inputfile (prettyfaces) does not work
- java 8 with Glassfish 4.1 Artifact HelloWorld:war exploded: Server is not connected. Deploy is not available
- Why won't my JSF app deploy to GlassFish?
- Best way redirect REST service request on glassfish + JAX-RS to https URL?
- JCA Glassfish to JBoss/Wildfly
- Ajax h:link doesn't call listener function
- JPA Bidirectionnal Uknown column
- Glassfish Closing JDBC Connection
- How to get other properties from an LDAP principal (user) after login using Glassfish's LDAPRealm?
- Deploying two applications in GlassFish's root context
- Starting Java EE Application on Glassfish
Related Questions in OSGI
- Eclipse OSGI unsatisfied constraint
- How to run Master Server from Equinox OSGi console?
- How to start a clean publishing instance and sync everything including OSGi bundles?
- @Transactional with xml-defined bean not working. (OSGi)
- How can single instance of an OSGI factory configuration be read from Java in CQ
- OSGi Component's default configuration value contains escaped backslash
- Third party OSGi library dependency conflict
- Apache sling : org.apache.sling.api.resource.PersistenceException: Unable to create node at /var/discovery))
- OSGI compatible artifact for jaxb2-basics?
- Modules Integration and Security in spring
- How to set a system property for the log4j2 JUL adapter in an OSGi environment
- Avoid copying some packages to OSGi Bundle
- AEM as IDP( Identity Provider) for CRM using SAML
- OSGI+CDI: strange behaviour with system printers detecting
- Getting ClassNotFound for PaxExam Option class when running test
Related Questions in WAB
- Scout Eclipse RAP smart fields
- How to use OSGi services in Tapestry
- Compiling a OSGi bundle with registered hook for Liferay
- How to share login sessions in WAB packages
- Using OSGi WAB as a Resource bundle inside a war
- Servlet Filters in OSGi Enabled Web Application on Glassfish
- Filter values in drop down of AttributeInspector (SmartEditor Widget)
- Export a WAB from an eclipse product / launch configuration
- Howto use Maven Cargo Plugin to deploy a Web Application Bundle (WAB, OSGI + JavaEE) into Glassfish 3.x
- OSGi web application not running
- are Virgo tools actively maintained?
- How can I find all packages from WAB in osgi container?
- What is the equivalent of `transport-guarantee` when I register a Servlet in a BundleActivator without using web.xml?
- What is the use of converting jars to bundles in WAB(OSGI)?
- ArcEnterprise issue with connecting to Developer WAB?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Each WAB is deployed as a separate web application. I'm not sure which container you are deploying the WABs to but some servlet engines (eg. Tomcat or Jetty) can be configured to share session data between different web applications (WARs). (see sharing session between WARs)
Another option is to develop your own single-sign-on service. This service can be deployed as an OSGi bundle and used by each WAB. The first WAB that logs in registers the user and a secret with the service. The secret is also stored encrypted in a secure cookie that's valid for the whole domain (no path). Once another WAB notice the cookie it can sign-in the user immediately. Each WAB would still have its own session, though. But the single-sign-on service can also be used to share additional data between WABs. The service should also implement some clean-up handling to discard old data. There are also additional security options you can implement to adapt the service to your needs.