[JBoss JIRA] Created: (JBPORTAL-2014) added guest support for current users portlet
by Luca Stancapiano (JIRA)
added guest support for current users portlet
---------------------------------------------
Key: JBPORTAL-2014
URL: http://jira.jboss.com/jira/browse/JBPORTAL-2014
Project: JBoss Portal
Issue Type: Patch
Security Level: Public (Everyone can see)
Components: Portal Core, Portal Samples
Affects Versions: 2.6.5 Final
Reporter: Luca Stancapiano
Assigned To: Luca Stancapiano
Fix For: 2.6.5 Final
I added support for guest users into current users portlet. Updates are:
Now you see three rows:
1-number of all users (guest and not)
2- number of logged users
3- list of logged users
I changed org.jboss.portal.core.identity.UserActivity class so:
- EXIT instead of SIGN_OUT. Now UserActivity is also for guest operations
- added a constant GUEST = "guest" to identify a guest operation
- added a field sessionId. It permits to identify a guest operation. UserId is "guest" for all guests. SessionId is also important for logged users. It resolves a early bug, because if the same user is on different hosts, they works as the same user and we monitor one only host
I changed org.jboss.portal.core.identity.UsersActivityStatsService adding a method:
public int getActiveSessionCount(long period);
it returns the number of current session opened
I created a new listener, org.jboss.portal.core.samples.users.event.PortalSessionEventListener into core-samples and added it into jboss-service.xml. It catches operations of begin and end of portal sessions. It works on creation and destroy of sessions and it increase values of UsersActivityStatsService
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 2 months
[JBoss JIRA] Created: (JBMAN-13) Add APPLICATION_CLUSTERED DeploymentPhase enum type
by Scott M Stark (JIRA)
Add APPLICATION_CLUSTERED DeploymentPhase enum type
---------------------------------------------------
Key: JBMAN-13
URL: http://jira.jboss.com/jira/browse/JBMAN-13
Project: JBoss Managed
Issue Type: Feature Request
Affects Versions: JBossMan.2.0.0.Beta12
Reporter: Scott M Stark
Assigned To: Scott M Stark
For completeness, support of previous jbossas farming type deployments we need a clustered application phase:
/** The class of deployment */
public enum DeploymentPhase {
/** A deployment loaded during the server bootstrap phase */
BOOTSTRAP,
/** An mc/service deployment for a Deployer to be loaded after the BOOTSTRAP phase */
DEPLOYER,
/** Any deployment content to be loaded after the DEPLOYER phase */
APPLICATION,
/** Any deployment content to be loaded across a 'cluster' after the APPLICATION phase */
APPLICATION_CLUSTERED,
};
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 2 months