Serialized Form
-
Package org.apache.derby.agg
-
Package org.apache.derby.authentication
-
Class org.apache.derby.authentication.SystemPrincipal extends Object implements Serializable
- serialVersionUID:
- 925380094921530190L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Called upon deserialization for restoring the state of this SystemPrincipal from a stream.- Throws:
IOException
ClassNotFoundException
-
-
Serialized Fields
-
name
String name
The name of the principal.Note that the name is not a "normalized" Authorization Identifier. This is due to peculiarities of the Java Security Runtime, which compares a
javax.security.auth.Subject
's Principals against the literal Principal name as declared in the policy files, and not against the return value of methodgetName()
. So, a normalization of names within SystemPrincipal doesn't affect permission checking by the SecurityManager.In order for a
javax.security.auth.Subject
to be granted permissions on the basis Authorization Identifier rules, e.g., for a Subject authenticated as edWard to fall under a policy clause declared for EDWARD, the Subject has to be constructed (or augmented) with both the literal name and the normalized Authorization Identifier.As an alternative approach, class
SystemPrincipal
could implement the non-standard interfacecom.sun.security.auth.PrincipalComparator
, which declares a methodimplies(Subject)
that would allow for Principals to match Subjects on the basis of normalized Authorization Identifiers. But then we'd be relying upon non-standard Security Runtime behaviour.
-
-
-
Package org.apache.derby.catalog
-
Package org.apache.derby.drda
-
Class org.apache.derby.drda.NetServlet extends HttpServlet implements Serializable
-
Serialized Fields
-
host
String host
-
logStatus
boolean logStatus
-
portNumber
int portNumber
-
server
NetworkServerControl server
-
traceStatus
boolean traceStatus
-
tracingDirectory
String tracingDirectory
-
-
-
-
Package org.apache.derby.jdbc
-
Class org.apache.derby.jdbc.BasicClientConnectionPoolDataSource40 extends BasicClientDataSource40 implements Serializable
- serialVersionUID:
- -539234282156481378L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream inputStream) throws ClassNotFoundException, IOException
Read an object from the ObjectInputStream.This implementation differs from the default one by initiating state validation of the object created.
- Throws:
ClassNotFoundException
- if instantiating a class failsIOException
- if reading from the stream fails
-
-
Serialized Fields
-
maxStatements
int maxStatements
Specifies the maximum number of statements that can be cached per connection by the JDBC driver.A value of
0
disables statement caching, negative values are not allowed. The default is that caching is disabled.
-
-
Class org.apache.derby.jdbc.BasicClientDataSource40 extends Object implements Serializable
- serialVersionUID:
- 1894299584216955554L
-
Serialized Fields
-
connectionAttributes
String connectionAttributes
-
createDatabase
boolean createDatabase
Set to true if the database should be created. -
databaseName
String databaseName
Stores the relational database name, RDBNAME. The length of the database name may be limited to 18 bytes and therefore may throw an SQLException. -
dataSourceName
String dataSourceName
A data source name; used to name an underlying XADataSource, or ConnectionPoolDataSource when pooling of connections is done. -
description
String description
A description of this data source. -
loginTimeout
int loginTimeout
The time in seconds to wait for a connection request on this data source. The default value of zero indicates that either the system time out be used or no timeout limit. -
password
String password
-
portNumber
int portNumber
-
retrieveMessageText
boolean retrieveMessageText
-
securityMechanism
short securityMechanism
Security Mechanism can be specified explicitly either when obtaining a connection via a DriverManager or via Datasource. Via DriverManager, securityMechanism can be set on the connection request using the 'securityMechanism' attribute. Via DataSource, securityMechanism can be set by calling setSecurityMechanism() on the ClientDataSource If the security mechanism is not explicitly set as mentioned above, in that case the Client will try to upgrade the security mechanism to a more secure one, if possible. SeeBasicClientDataSource40.getUpgradedSecurityMechanism(java.lang.String)
. Therefore, need to keep track if the securityMechanism has been explicitly set. -
serverName
String serverName
-
shutdownDatabase
boolean shutdownDatabase
Set to true if the database should be shutdown. -
sslMode
int sslMode
-
traceDirectory
String traceDirectory
-
traceFile
String traceFile
-
traceFileAppend
boolean traceFileAppend
-
traceLevel
int traceLevel
-
user
String user
This property can be overwritten by specifing the username parameter on the DataSource.getConnection() method call. If user is specified, then password must also be specified, either in the data source object or provided on the DataSource.getConnection() call. Each data source implementation subclass will maintain it's ownpassword
property. This password property may or may not be declared transient, and therefore may be serialized to a file in clear-text, care must taken by the user to prevent security breaches. Derby-406 fix
-
-
Class org.apache.derby.jdbc.BasicClientXADataSource40 extends BasicClientDataSource40 implements Serializable
- serialVersionUID:
- 7057075094707674881L
-
Class org.apache.derby.jdbc.BasicEmbeddedConnectionPoolDataSource40 extends BasicEmbeddedDataSource40 implements Serializable
- serialVersionUID:
- 7852784308039674161L
-
Class org.apache.derby.jdbc.BasicEmbeddedDataSource40 extends Object implements Serializable
- serialVersionUID:
- -4945135214995641182L
-
Serialized Fields
-
attributesAsPassword
boolean attributesAsPassword
Set password to be a set of connection attributes. -
connectionAttributes
String connectionAttributes
Derby specific connection attributes. Set byBasicEmbeddedDataSource40.setConnectionAttributes(java.lang.String)
. -
createDatabase
String createDatabase
Set to "create" if the database should be created. SeeBasicEmbeddedDataSource40.setCreateDatabase(java.lang.String)
. -
databaseName
String databaseName
-
dataSourceName
String dataSourceName
-
description
String description
-
loginTimeout
int loginTimeout
-
password
String password
-
shortDatabaseName
String shortDatabaseName
shortDatabaseName
has attributes ofdatabaseName
stripped off. SeeBasicEmbeddedDataSource40.databaseName
. -
shutdownDatabase
String shutdownDatabase
Set to "shutdown" if the database should be shutdown. SeeBasicEmbeddedDataSource40.setShutdownDatabase(java.lang.String)
. -
user
String user
-
-
Class org.apache.derby.jdbc.BasicEmbeddedXADataSource40 extends BasicEmbeddedDataSource40 implements Serializable
- serialVersionUID:
- -5715798975598379739L
-
Class org.apache.derby.jdbc.ClientConnectionPoolDataSource extends ClientDataSource implements Serializable
- serialVersionUID:
- -539234282156481377L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream inputStream) throws ClassNotFoundException, IOException
Read an object from the ObjectInputStream.This implementation differs from the default one by initiating state validation of the object created.
- Throws:
ClassNotFoundException
- if instantiating a class failsIOException
- if reading from the stream fails
-
-
Serialized Fields
-
maxStatements
int maxStatements
Specifies the maximum number of statements that can be cached per connection by the JDBC driver.A value of
0
disables statement caching, negative values are not allowed. The default is that caching is disabled.
-
-
Class org.apache.derby.jdbc.ClientConnectionPoolDataSource40 extends ClientConnectionPoolDataSource implements Serializable
- serialVersionUID:
- 6313966728809326579L
-
Class org.apache.derby.jdbc.ClientDataSource extends BasicClientDataSource40 implements Serializable
- serialVersionUID:
- 1894299584216955553L
-
Class org.apache.derby.jdbc.ClientDataSource40 extends ClientDataSource implements Serializable
- serialVersionUID:
- -3936981157692787843L
-
Class org.apache.derby.jdbc.ClientXADataSource extends ClientDataSource implements Serializable
- serialVersionUID:
- 7057075094707674880L
-
Class org.apache.derby.jdbc.ClientXADataSource40 extends ClientXADataSource implements Serializable
- serialVersionUID:
- -3463444509507830926L
-
Class org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource extends EmbeddedDataSource implements Serializable
- serialVersionUID:
- 7852784308039674160L
-
Class org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource40 extends EmbeddedConnectionPoolDataSource implements Serializable
- serialVersionUID:
- -4368824293743156916L
-
Class org.apache.derby.jdbc.EmbeddedDataSource extends org.apache.derby.jdbc.ReferenceableDataSource implements Serializable
- serialVersionUID:
- -4945135214995641181L
-
Class org.apache.derby.jdbc.EmbeddedDataSource40 extends EmbeddedDataSource implements Serializable
- serialVersionUID:
- 4472591890758954803L
-
Class org.apache.derby.jdbc.EmbeddedXADataSource extends EmbeddedDataSource implements Serializable
- serialVersionUID:
- -5715798975598379738L
-
Class org.apache.derby.jdbc.EmbeddedXADataSource40 extends EmbeddedXADataSource implements Serializable
- serialVersionUID:
- 4048303427908481258L
-
Class org.apache.derby.jdbc.ReferenceableDataSource extends BasicEmbeddedDataSource40 implements Serializable
- serialVersionUID:
- 1872877359127597176L
-
-
Package org.apache.derby.security
-
Class org.apache.derby.security.DatabasePermission extends Permission implements Serializable
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Called upon Deserialization for restoring the state of this DatabasePermission from a stream.- Throws:
IOException
ClassNotFoundException
-
writeObject
private void writeObject(ObjectOutputStream s) throws IOException
Called upon Serialization for saving the state of this DatabasePermission to a stream.- Throws:
IOException
-
-
Serialized Fields
-
actions
String actions
The actions of this permission, as returned byDatabasePermission.getActions()
.
-
-
-
Class org.apache.derby.security.SystemPermission extends BasicPermission implements Serializable
- serialVersionUID:
- 1965420504091489898L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Called upon deserialization for restoring the state of this SystemPermission from a stream.- Throws:
IOException
ClassNotFoundException
-
-
Serialized Fields
-
actions
String actions
Actions for this permission.
-
-
-
Package org.apache.derby.vti
-
Class org.apache.derby.vti.Restriction extends Object implements Serializable
-
Class org.apache.derby.vti.Restriction.AND extends Restriction implements Serializable
- serialVersionUID:
- -8205388794606605844L
-
Serialized Fields
-
_leftChild
Restriction _leftChild
-
_rightChild
Restriction _rightChild
-
-
Class org.apache.derby.vti.Restriction.ColumnQualifier extends Restriction implements Serializable
- serialVersionUID:
- -8205388794606605844L
-
Class org.apache.derby.vti.Restriction.OR extends Restriction implements Serializable
- serialVersionUID:
- -8205388794606605844L
-
Serialized Fields
-
_leftChild
Restriction _leftChild
-
_rightChild
Restriction _rightChild
-
-