PLUGGABLE SESSION CONTEXT
First Claim
1. A method comprising:
- a database server receiving a first command in a database session;
the database server responding to the first command without privilege to access a set of data in a database;
the database server receiving, in the database session, a particular identifier and a second command;
wherein the particular identifier is associated with a session context having information that indicates a user has privilege to access the set of data;
in response to receiving the particular identifier, the database server plugging the session context into the database session; and
the database server accessing the set of data to execute the second command.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus are described for sharing a session to access a database. A database server receives, in a session, a session context identifier and a command. The session context identifier identifies a session context to use for the session. The session context is a set of information or commands that plug into a session state and specify how commands in the session are to be performed for a particular user or privilege level. In response to receiving the identifier, the database server associates the session context with the database session for the connection. The database server uses the session context to process the command. The session context may then be detached from the session, allowing another user to attach to the session via another session context.
160 Citations
27 Claims
-
1. A method comprising:
-
a database server receiving a first command in a database session; the database server responding to the first command without privilege to access a set of data in a database; the database server receiving, in the database session, a particular identifier and a second command; wherein the particular identifier is associated with a session context having information that indicates a user has privilege to access the set of data; in response to receiving the particular identifier, the database server plugging the session context into the database session; and the database server accessing the set of data to execute the second command. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A volatile or non-volatile computer-readable storage medium storing one or more sequences of instruction, wherein execution of the one or more sequences of instruction by one or more processors causes the one or more processors to perform:
-
a database server receiving a first command in a database session; the database server responding to the first command without privilege to access a set of data in a database; the database server receiving, in the database session, a particular identifier and a second command; wherein the particular identifier is associated with a session context having information that indicates a user has privilege to access the set of data; in response to receiving the particular identifier, the database server plugging the session context into the database session; and the database server accessing the set of data to execute the second command.
-
-
16. A database appliance comprising:
-
one or more processors; wherein execution of one or more sequences of instruction by the one or more processors causes the one or more processors to perform; a database server receiving a first command in a database session; the database server responding to the first command without privilege to access a set of data in a database; the database server receiving, in the database session, a particular identifier and a second command; wherein the particular identifier is associated with a session context having information that indicates a user has privilege to access the set of data; in response to receiving the particular identifier, the database server plugging the session context into the database session; and the database server accessing the set of data to execute the second command.
-
-
17. A method comprising:
-
a client sending a first command to a database server in a database session; the client receiving a first result for the first command from the database server; wherein the first result was generated without privilege to access a set of data in a database; the client receiving a user input; the client identifying a particular identifier and a second command based at least in part on the user input; wherein the particular identifier is associated with a session context that stores information that indicates a user has privilege to access the set of data; the client sending the particular identifier and the second command to the database server in the database session; the client receiving a second result for the second command from the database server; wherein the second result was generated at least in part by accessing the set of data. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26)
-
-
27. A volatile or non-volatile computer-readable storage medium storing one or more sequences of instruction, wherein execution of the one or more sequences of instruction by one or more processors causes the one or more processors to perform:
-
a client computer sending a first command to a database server in a database session; the client computer receiving a first result for the first command from the database server; wherein the first result was generated without privilege to access a set of data in a database; the client computer receiving a user input; the client computer identifying a particular identifier and a second command based at least in part on the user input; wherein the particular identifier is associated with a session context that stores information that indicates a user has privilege to access the set of data; the client computer sending the particular identifier and the second command to the database server in the database session; the client computer receiving a second result for the second command from the database server; wherein the second result was generated at least in part by accessing the set of data.
-
Specification