|
xmlBlaster 2.2.0 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of SessionInfo in org.xmlBlaster.authentication |
---|
Fields in org.xmlBlaster.authentication declared as SessionInfo | |
---|---|
private SessionInfo[] |
SubjectInfo.sessionArrCache
|
private SessionInfo |
SessionInfoProtector.sessionInfo
|
Fields in org.xmlBlaster.authentication with type parameters of type SessionInfo | |
---|---|
private java.util.Map<java.lang.String,SessionInfo> |
Authenticate.sessionInfoMap
With this map you can find a client using a sessionId. |
private java.util.Map<java.lang.String,SessionInfo> |
SubjectInfo.sessionMap
All sessions of this subject are stored in this map. |
Methods in org.xmlBlaster.authentication that return SessionInfo | |
---|---|
SessionInfo |
Authenticate.check(java.lang.String secretSessionId)
Use this method to check a clients authentication. |
SessionInfo |
SubjectInfo.findSessionInfo(AddressBase addr)
If you have a callback address and want to know to which session it belongs. |
SessionInfo |
SubjectInfo.getFirstSession()
|
(package private) SessionInfo |
SubjectInfo.getOrCreateSessionInfo(SessionName sessionName,
ConnectQosServer connectQos)
Blocks for existing SessionInfo until it is initialized. |
private SessionInfo |
Authenticate.getOrCreateSessionInfo(SessionName sessionName,
ConnectQosServer connectQos)
Blocks for existing SessionInfo until it is initialized. |
SessionInfo |
SubjectInfo.getSession(SessionName sessionName)
Find a session by its public session ID. |
SessionInfo |
SubjectInfo.getSessionByAbsoluteName(java.lang.String absoluteName)
Find a session by its absolute name. |
SessionInfo |
SubjectInfo.getSessionByPublicId(long publicSessionId)
Get the SessionInfo with its public session identifier e.g. |
SessionInfo |
ClientEvent.getSessionInfo()
Returns the originator of the event. |
SessionInfo |
SubjectInfo.getSessionInfo(SessionName sessionName)
Find a session by its pubSessionId or return null if not found |
SessionInfo |
Authenticate.getSessionInfo(SessionName sessionName)
Find a session by its login name and pubSessionId or return null if not found |
private SessionInfo |
Authenticate.getSessionInfo(java.lang.String secretSessionId)
Access a sessionInfo with the unique secretSessionId. |
SessionInfo[] |
Authenticate.getSessionInfoArr()
Returns a current snapshot of all sessions, never returns null. |
SessionInfo |
Authenticate.getSessionInfoByName(SessionName sessionName)
|
SessionInfo[] |
SubjectInfo.getSessions()
Access the collection containing all SessionInfo objects of this user. |
SessionInfo[] |
SubjectInfo.getSessionsToClear(ConnectQosServer q)
Check if client does a re-login and wants to destroy old sessions. |
SessionInfo |
Authenticate.unsecureCreateSession(ConnectQos connectQos)
Use this to create a user and session for internal users only. |
SessionInfo |
AuthenticateProtector.unsecureCreateSession(SessionName loginName)
Deprecated. Security hole, currently need by MainGUI.java |
Methods in org.xmlBlaster.authentication with parameters of type SessionInfo | |
---|---|
private void |
Authenticate.fireClientEvent(SessionInfo sessionInfo,
boolean login)
Used to fire an event if a client does a login / logout |
private void |
Authenticate.firePreRemovedClientEvent(SessionInfo sessionInfo)
|
boolean |
Authenticate.isAcceptWrongSenderAddress(SessionInfo sessionInfo)
Authorization check (TODO: generic approach) |
boolean |
SessionInfo.isSameSession(SessionInfo sessionInfo)
Check cluster wide if the sessions are identical |
void |
SubjectInfo.notifyAboutLogin(SessionInfo sessionInfo)
Get notification that the client did a login. |
private void |
Authenticate.resetSessionInfo(SessionInfo sessionInfo,
boolean clearQueue,
boolean forceShutdownEvenIfEntriesExist,
boolean isDisconnecting)
|
private void |
Authenticate.updateConnectQos(SessionInfo sessionInfo,
ConnectQosServer newConnectQos)
|
Constructors in org.xmlBlaster.authentication with parameters of type SessionInfo | |
---|---|
ClientEvent(ConnectQosServer previousConnectQosServer,
SessionInfo sessionInfo)
|
|
ClientEvent(SessionInfo sessionInfo)
Constructs a ClientEvent object. |
|
SessionInfoProtector(SessionInfo sessionInfo)
|
Uses of SessionInfo in org.xmlBlaster.authentication.plugins |
---|
Fields in org.xmlBlaster.authentication.plugins declared as SessionInfo | |
---|---|
private SessionInfo |
SessionHolder.sessionInfo
|
Methods in org.xmlBlaster.authentication.plugins that return SessionInfo | |
---|---|
SessionInfo |
SessionHolder.getSessionInfo()
|
Methods in org.xmlBlaster.authentication.plugins with parameters of type SessionInfo | |
---|---|
I_Manager |
PluginManager.getManager(SessionInfo sessionInfo)
Returns the security manager, responsible for given session. |
void |
SessionHolder.setSessionInfo(SessionInfo sessionInfo)
|
Constructors in org.xmlBlaster.authentication.plugins with parameters of type SessionInfo | |
---|---|
SessionHolder(SessionInfo sessionInfo,
AddressServer addressServer)
|
Uses of SessionInfo in org.xmlBlaster.contrib.mime |
---|
Methods in org.xmlBlaster.contrib.mime with parameters of type SessionInfo | |
---|---|
boolean |
DropIfNotDeliverable.match(SessionInfo receiver,
MsgUnit msgUnit,
Query query)
|
boolean |
DropIfNotDeliverableUniqueOnly.match(SessionInfo receiver,
MsgUnit msgUnit,
Query query)
|
Uses of SessionInfo in org.xmlBlaster.engine |
---|
Fields in org.xmlBlaster.engine declared as SessionInfo | |
---|---|
private SessionInfo |
ServerScope.internalSessionInfo
|
private SessionInfo |
MsgErrorHandler.sessionInfo
|
private SessionInfo |
SubscriptionInfo.sessionInfo
The initiatior of this subscription |
protected SessionInfo |
EventPlugin.sessionInfo
|
private SessionInfo |
RequestBroker.unsecureSessionInfo
This client is only for internal use, it is un secure to pass it outside because there is no authentication. The login name "__RequestBroker_internal__" is reserved! TODO: security discussion |
Methods in org.xmlBlaster.engine that return SessionInfo | |
---|---|
(package private) SessionInfo |
RequestBroker.getInternalSessionInfo()
|
SessionInfo |
ServerScope.getInternalSessionInfo()
|
SessionInfo |
SubscriptionInfo.getSessionInfo()
The session info of the client who initiated this subscription |
Methods in org.xmlBlaster.engine with parameters of type SessionInfo | |
---|---|
private void |
SessionPersistencePlugin.addOrUpdateSession(SessionInfo sessionInfo)
A new session is added, checks if it shall be persisted. |
(package private) void |
RequestBroker.checkExistingSubscriptions(SessionInfo sessionInfo,
TopicHandler topicHandler,
PublishQosServer xmlQoS)
This helper method checks for a published message which didn't exist before if there are any XPath subscriptions pending which match. |
boolean |
TopicHandler.checkFilter(SessionInfo publisherSessionInfo,
SubscriptionInfo sub,
MsgUnitWrapper msgUnitWrapper,
boolean handleException)
Checks if the filters allow this message to be sent to the specified session |
private boolean |
TopicHandler.checkIfAllowedToSend(SessionInfo publisherSessionInfo,
SubscriptionInfo sub)
Checks if it is allowed to send the entry to the callback queue. |
(package private) java.lang.String[] |
RequestBroker.erase(SessionInfo sessionInfo,
QueryKeyData xmlKey,
EraseQosServer eraseQos)
Client wants to erase a message. |
private java.lang.String[] |
RequestBroker.erase(SessionInfo sessionInfo,
QueryKeyData xmlKey,
EraseQosServer eraseQos,
boolean isClusterUpdate)
Client wants to erase a message. |
long |
TopicHandler.eraseFromHistoryQueue(SessionInfo sessionInfo,
HistoryQos historyQos)
Erase message instances but not the topic itself. |
(package private) void |
TopicHandler.eraseRequest(SessionInfo sessionInfo,
QueryKeyData eraseKey,
EraseQosServer eraseQos)
Notify all Listeners that a topic is erased. |
TopicHandler |
TopicAccessor.findOrCreate(SessionInfo sessionInfo,
java.lang.String oid)
Access a topicHandler by its unique oid or create it if not known. |
SubscriptionInfo[] |
TopicHandler.findSubscriber(SessionInfo sessionInfo)
Returns SubscriptionInfo instances of this session (a session may subscribe the same message multiple times). |
PublishReturnQos |
RequestBroker.forwardPtpPublish(SessionInfo sessionInfo,
MsgUnit msgUnit,
boolean isClusterUpdate,
Destination destination)
Rorward a message to another cluster node. |
private void |
TopicHandler.forwardToDestinations(SessionInfo publisherSessionInfo,
MsgUnitWrapper cacheEntry,
PublishQosServer publishQos)
Forward PtP messages. |
MsgUnit[] |
RequestBroker.get(SessionInfo sessionInfo,
QueryKeyData xmlKey,
GetQosServer getQos)
Invoked by a client, to access one/many MsgUnit. |
ClusterManager |
ServerScope.getClusterManager(SessionInfo sessionInfo)
Initialize the instance which manages myself in a cluster environment. |
CommandManager |
ServerScope.getCommandManager(SessionInfo sessionInfo)
Initialize instance of remote command administration manager. |
java.util.ArrayList<SubscriptionInfo> |
ClientSubscriptions.getSubscription(SessionInfo sessionInfo,
QueryKeyData queryKey,
QueryQosData queryQos)
|
SubscriptionInfo |
ClientSubscriptions.getSubscription(SessionInfo sessionInfo,
java.lang.String subscriptionInfoUniqueKey)
If you have the unique id of a subscription, you may access the SubscriptionInfo object here. |
java.util.Vector<SubscriptionInfo> |
ClientSubscriptions.getSubscriptionByOid(SessionInfo sessionInfo,
java.lang.String keyOid,
boolean exactOnly)
|
SubscriptionInfo[] |
ClientSubscriptions.getSubscriptions(SessionInfo sessionInfo)
Access all subscriptions of a client |
private MsgUnit |
XmlBlasterImpl.importAndAuthorize(SessionInfo sessionInfo,
AddressServer addressServer,
MsgUnitRaw msgUnitRaw,
MethodName action)
Check message via security plugin. |
private void |
SubscriptionInfo.init(ServerScope glob,
SessionInfo sessionInfo,
KeyData keyData,
SubscribeQosServer qos)
|
private java.lang.String |
XmlBlasterImpl.interceptExeptionByAuthorizer(java.lang.Throwable e,
SessionInfo sessionInfo,
AddressServer addressServer,
MsgUnit msgUnit,
MethodName action)
|
private int |
TopicHandler.invokeCallback(SessionInfo publisherSessionInfo,
SubscriptionInfo sub,
MsgUnitWrapper msgUnitWrapper,
boolean doErrorHandling)
Put the message into the callback queue of the subscribed client (Pub/Sub mode only). |
private void |
TopicHandler.invokeCallbackAndHandleFailure(SessionInfo publisherSessionInfo,
MsgUnitWrapper msgUnitWrapper)
Send updates to all subscribed clients. |
private java.lang.String |
XmlBlasterImpl.publish(AddressServer addressServer,
SessionInfo sessionInfo,
MsgUnitRaw msgUnitRaw,
MethodName methodName)
|
java.lang.String |
RequestBroker.publish(SessionInfo sessionInfo,
MsgUnit msgUnit)
Internal publishing helper. |
private java.lang.String |
RequestBroker.publish(SessionInfo sessionInfo,
MsgUnit msgUnit,
boolean isClusterUpdate)
|
PublishReturnQos |
TopicHandler.publish(SessionInfo publisherSessionInfo,
MsgUnit msgUnit,
PublishQosServer publishQosServer)
A new publish event (PubSub or PtP) arrives. |
private java.lang.String |
RequestBroker.publish(SessionInfo sessionInfo,
MsgUnit msgUnit,
PublishQosServer publishQos)
Write-Access method to publish a new message from a data source. |
private KeyData[] |
RequestBroker.queryMatchingKeys(SessionInfo sessionInfo,
QueryKeyData queryKeyData,
QueryQosData qos)
This method does the query (queryType = "XPATH" | "EXACT"). |
private java.lang.String[] |
RequestBroker.queryMatchingTopics(SessionInfo sessionInfo,
QueryKeyData queryKeyData,
QueryQosData qos)
This method does the query (queryType = "XPATH" | "EXACT"). |
private void |
SessionPersistencePlugin.removeAssociatedSubscriptions(SessionInfo sessionInfo)
|
private void |
ClientSubscriptions.removeFromClientSubscriptionMap(SessionInfo sessionInfo,
java.lang.String subscriptionInfoUniqueKey)
|
private int |
ClientSubscriptions.removeFromQuerySubscribeRequestsSet(SessionInfo sessionInfo,
java.lang.String subscriptionInfoUniqueKey)
|
void |
ServerScope.setInternalSessionInfo(SessionInfo internalSessionInfo)
Filled by RequestBroker.java |
java.lang.String |
RequestBroker.subscribe(SessionInfo sessionInfo,
QueryKeyData xmlKey,
SubscribeQosServer subscribeQos)
|
private java.util.ArrayList |
TopicHandler.toSoftErased(SessionInfo sessionInfo,
QueryKeyData eraseKey,
EraseQosServer eraseQos)
|
java.lang.String[] |
RequestBroker.unSubscribe(SessionInfo sessionInfo,
QueryKeyData xmlKey,
UnSubscribeQosServer unSubscribeQos)
Incoming unsubscribe request from a client. |
private java.lang.String[] |
TopicHandler.unSubscribe(SessionInfo sessionInfo,
java.lang.String qos)
private helper to unSubscribe |
void |
EventPlugin.update(SessionInfo sessionInfo,
java.util.Map remoteProperties)
Called when a client sends his remote properties, for example client side errors. |
void |
I_RemotePropertiesListener.update(SessionInfo sessionInfo,
java.util.Map remoteProperties)
Invoked when RemoteProperties have arrived. |
java.lang.String |
RequestBroker.update(SessionInfo sessionInfo,
UpdateKey updateKey,
byte[] content,
MsgQosData msgQosData)
Used for cluster internal updates. |
Constructors in org.xmlBlaster.engine with parameters of type SessionInfo | |
---|---|
MsgErrorHandler(ServerScope glob,
SessionInfo sessionInfo)
|
|
SubscriptionInfo(ServerScope glob,
SessionInfo sessionInfo,
KeyData keyData,
SubscribeQosServer qos)
Use this constructor for an exact subscription. |
|
SubscriptionInfo(ServerScope glob,
SessionInfo sessionInfo,
SubscriptionInfo querySub,
KeyData keyData)
Use this constructor it the subscription is a result of a XPath subscription |
|
TopicHandler(ServerScope serverScope,
SessionInfo publisherSessionInfo,
java.lang.String uniqueKey)
Use this constructor if a yet unknown object is fed by method publish(). |
Uses of SessionInfo in org.xmlBlaster.engine.admin |
---|
Fields in org.xmlBlaster.engine.admin declared as SessionInfo | |
---|---|
private SessionInfo |
CommandManager.sessionInfo
|
Constructors in org.xmlBlaster.engine.admin with parameters of type SessionInfo | |
---|---|
CommandManager(ServerScope glob,
SessionInfo sessionInfo)
You need to call postInit() after all drivers are loaded. |
Uses of SessionInfo in org.xmlBlaster.engine.admin.extern |
---|
Methods in org.xmlBlaster.engine.admin.extern with parameters of type SessionInfo | |
---|---|
MsgUnit[] |
MomClientGateway.getCommand(SessionInfo sessionInfo,
QueryKeyData keyData,
QueryQosData qosData)
Called by RequestBroker on get() of command messages. |
java.lang.String |
MomClientGateway.setCommand(SessionInfo sessionInfo,
KeyData xmlKey,
MsgUnit msgUnit,
PublishQosServer publishQos,
boolean isClusterUpdate)
Called by RequestBroker on publish() of command messages. |
Uses of SessionInfo in org.xmlBlaster.engine.cluster |
---|
Fields in org.xmlBlaster.engine.cluster declared as SessionInfo | |
---|---|
private SessionInfo |
ClusterNode.sessionInfo
|
private SessionInfo |
NodeParser.sessionInfo
|
private SessionInfo |
ClusterManager.sessionInfo
|
Methods in org.xmlBlaster.engine.cluster with parameters of type SessionInfo | |
---|---|
EraseReturnQos[] |
ClusterManager.forwardErase(SessionInfo publisherSession,
QueryKeyData xmlKey,
EraseQosServer eraseQos)
|
MsgUnit[] |
ClusterManager.forwardGet(SessionInfo publisherSession,
QueryKeyData xmlKey,
GetQosServer getQos)
|
PublishReturnQos |
ClusterManager.forwardPtpPublish(SessionInfo publisherSession,
MsgUnit msgUnit,
Destination destination)
|
PublishRetQosWrapper |
ClusterManager.forwardPublish(SessionInfo publisherSession,
MsgUnit msgUnit)
|
SubscribeReturnQos |
ClusterManager.forwardSubscribe(SessionInfo publisherSession,
QueryKeyData xmlKey,
SubscribeQosServer subscribeQos)
|
UnSubscribeReturnQos[] |
ClusterManager.forwardUnSubscribe(SessionInfo publisherSession,
QueryKeyData xmlKey,
UnSubscribeQosServer unSubscribeQos)
|
NodeMasterInfo |
ClusterManager.getConnection(SessionInfo publisherSession,
MsgUnit msgUnit)
|
NodeMasterInfo |
ClusterManager.getConnection(SessionInfo publisherSession,
MsgUnit msgUnit,
Destination destination)
Get connection to the master node (or a node at a closer stratum to the master). |
Constructors in org.xmlBlaster.engine.cluster with parameters of type SessionInfo | |
---|---|
ClusterManager(ServerScope glob,
SessionInfo sessionInfo)
You need to call postInit() after all drivers are loaded. |
|
ClusterNode(ServerScope glob,
NodeId nodeId,
SessionInfo sessionInfo)
Create an object holding all informations about a node |
|
NodeParser(ServerScope glob,
ClusterManager clusterManager,
java.lang.String xml,
SessionInfo sessionInfo)
Parses the XML markup of exactly one cluster node configuration. |
Uses of SessionInfo in org.xmlBlaster.engine.mime |
---|
Methods in org.xmlBlaster.engine.mime with parameters of type SessionInfo | |
---|---|
boolean |
I_AccessFilter.match(SessionInfo receiver,
MsgUnit msgUnit,
Query query)
Check if the filter rule matches for this message. |
Uses of SessionInfo in org.xmlBlaster.engine.mime.demo |
---|
Methods in org.xmlBlaster.engine.mime.demo with parameters of type SessionInfo | |
---|---|
boolean |
ContentLenFilter.match(SessionInfo receiver,
MsgUnit msgUnit,
Query query)
Check if the filter rule matches for this message. |
Uses of SessionInfo in org.xmlBlaster.engine.mime.regex |
---|
Methods in org.xmlBlaster.engine.mime.regex with parameters of type SessionInfo | |
---|---|
boolean |
GnuRegexFilter.match(SessionInfo receiver,
MsgUnit msgUnit,
Query query)
Check if the filter rule matches for this message. |
Uses of SessionInfo in org.xmlBlaster.engine.mime.sql92 |
---|
Methods in org.xmlBlaster.engine.mime.sql92 with parameters of type SessionInfo | |
---|---|
boolean |
Sql92Filter.match(SessionInfo receiver,
MsgUnit msgUnit,
Query query)
Check if the filter rule matches for this message. |
Uses of SessionInfo in org.xmlBlaster.engine.mime.xpath |
---|
Methods in org.xmlBlaster.engine.mime.xpath with parameters of type SessionInfo | |
---|---|
boolean |
XPathFilter.match(SessionInfo receiver,
MsgUnit msgUnit,
Query query)
Check if the filter rule matches for this message. |
Uses of SessionInfo in org.xmlBlaster.engine.runlevel |
---|
Methods in org.xmlBlaster.engine.runlevel with parameters of type SessionInfo | |
---|---|
java.lang.String |
RunlevelManager.publish(SessionInfo sessionInfo,
MsgUnit msgUnit,
PublishQosServer publishQos)
Called from RequestBroker when a new plugin XML is arriving. |
Uses of SessionInfo in org.xmlBlaster.engine.xml2java |
---|
Methods in org.xmlBlaster.engine.xml2java with parameters of type SessionInfo | |
---|---|
java.util.ArrayList |
XmlKeyDom.parseKeyOid(SessionInfo sessionInfo,
java.lang.String xpathQuery,
QueryQosData qos)
This method does the XPath query. |
|
xmlBlaster 2.2.0 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |