Search in sources :

Example 11 with ColumnDescriptorEntry

use of edu.uiuc.ncsa.security.storage.sql.internals.ColumnDescriptorEntry in project OA4MP by ncsa.

the class DSTransactionTable method createColumnDescriptors.

@Override
public void createColumnDescriptors() {
    super.createColumnDescriptors();
    DSTransactionKeys x = (DSTransactionKeys) keys;
    // as per spec
    getColumnDescriptor().add(new ColumnDescriptorEntry(x.certReq(), LONGVARCHAR));
    // as per spec
    getColumnDescriptor().add(new ColumnDescriptorEntry(x.cert(), LONGVARCHAR));
    getColumnDescriptor().add(new ColumnDescriptorEntry(x.clientKey(), LONGVARCHAR));
    getColumnDescriptor().add(new ColumnDescriptorEntry(x.username(), LONGVARCHAR));
    getColumnDescriptor().add(new ColumnDescriptorEntry(x.myproxyUsername(), LONGVARCHAR, true, false));
}
Also used : ColumnDescriptorEntry(edu.uiuc.ncsa.security.storage.sql.internals.ColumnDescriptorEntry)

Aggregations

ColumnDescriptorEntry (edu.uiuc.ncsa.security.storage.sql.internals.ColumnDescriptorEntry)11 OA2ClientKeys (edu.uiuc.ncsa.security.oauth_2_0.OA2ClientKeys)1