Example #1
0
 static void ReadReader_ALL(PersistentLib.PersistentObject item, PersistentLib.ReaderWrapper reader)
 {
     ((TokenReplayCache_Ex)(item))._Id             = ((System.Nullable <System.Guid>)(reader.GetField(0)));
     ((TokenReplayCache_Ex)(item))._TokenKey       = ((string)(reader.GetField(1)));
     ((TokenReplayCache_Ex)(item))._ExpirationTime = ((System.Nullable <System.DateTime>)(reader.GetField(2)));
     ((TokenReplayCache_Ex)(item))._SecurityToken  = ((byte[])(reader.GetField(3)));
 }
Example #2
0
 public override void ReadReader(PersistentLib.PersistentObject item, PersistentLib.ReaderWrapper reader)
 {
     ((TokenReplayCache)(item))._Id             = ((System.Nullable <System.Guid>)(reader.GetField("ID")));
     ((TokenReplayCache)(item))._TokenKey       = ((string)(reader.GetField("TOKENKEY")));
     ((TokenReplayCache)(item))._ExpirationTime = ((System.Nullable <System.DateTime>)(reader.GetField("EXPIRATIONTIME")));
     ((TokenReplayCache)(item))._SecurityToken  = ((byte[])(reader.GetField("SECURITYTOKEN")));
 }
Example #3
0
 static void ParseRow_ALL(PersistentLib.PersistentObject item, System.Data.DataRow row)
 {
     ((TokenReplayCache_Ex)(item))._Id             = ((System.Nullable <System.Guid>)(GetRowValue(row, 0)));
     ((TokenReplayCache_Ex)(item))._TokenKey       = ((string)(GetRowValue(row, 1)));
     ((TokenReplayCache_Ex)(item))._ExpirationTime = ((System.Nullable <System.DateTime>)(GetRowValue(row, 2)));
     ((TokenReplayCache_Ex)(item))._SecurityToken  = ((byte[])(GetRowValue(row, 3)));
 }
Example #4
0
 static void ReadReader_ALL(PersistentLib.PersistentObject item, PersistentLib.ReaderWrapper reader)
 {
     ((SecurityTokenCache_Ex)(item))._Id                        = ((System.Nullable <System.Guid>)(reader.GetField(0)));
     ((SecurityTokenCache_Ex)(item))._ContextID                 = ((string)(reader.GetField(1)));
     ((SecurityTokenCache_Ex)(item))._EndpointID                = ((string)(reader.GetField(2)));
     ((SecurityTokenCache_Ex)(item))._KeyGeneration             = ((string)(reader.GetField(3)));
     ((SecurityTokenCache_Ex)(item))._ExpiryTime                = ((System.Nullable <System.DateTime>)(reader.GetField(4)));
     ((SecurityTokenCache_Ex)(item))._RollingExpiryTime         = ((System.Nullable <System.DateTime>)(reader.GetField(5)));
     ((SecurityTokenCache_Ex)(item))._SessionSecurityTokenValue = ((byte[])(reader.GetField(6)));
     ((SecurityTokenCache_Ex)(item))._SessionSecurityTokenID    = ((string)(reader.GetField(7)));
     ((SecurityTokenCache_Ex)(item))._UserName                  = ((string)(reader.GetField(8)));
 }
Example #5
0
 static void ParseRow_ALL(PersistentLib.PersistentObject item, System.Data.DataRow row)
 {
     ((SecurityTokenCache_Ex)(item))._Id                        = ((System.Nullable <System.Guid>)(GetRowValue(row, 0)));
     ((SecurityTokenCache_Ex)(item))._ContextID                 = ((string)(GetRowValue(row, 1)));
     ((SecurityTokenCache_Ex)(item))._EndpointID                = ((string)(GetRowValue(row, 2)));
     ((SecurityTokenCache_Ex)(item))._KeyGeneration             = ((string)(GetRowValue(row, 3)));
     ((SecurityTokenCache_Ex)(item))._ExpiryTime                = ((System.Nullable <System.DateTime>)(GetRowValue(row, 4)));
     ((SecurityTokenCache_Ex)(item))._RollingExpiryTime         = ((System.Nullable <System.DateTime>)(GetRowValue(row, 5)));
     ((SecurityTokenCache_Ex)(item))._SessionSecurityTokenValue = ((byte[])(GetRowValue(row, 6)));
     ((SecurityTokenCache_Ex)(item))._SessionSecurityTokenID    = ((string)(GetRowValue(row, 7)));
     ((SecurityTokenCache_Ex)(item))._UserName                  = ((string)(GetRowValue(row, 8)));
 }
Example #6
0
 public override void ReadReader(PersistentLib.PersistentObject item, PersistentLib.ReaderWrapper reader)
 {
     ((SecurityTokenCache)(item))._Id                        = ((System.Nullable <System.Guid>)(reader.GetField("ID")));
     ((SecurityTokenCache)(item))._ContextID                 = ((string)(reader.GetField("CONTEXTID")));
     ((SecurityTokenCache)(item))._EndpointID                = ((string)(reader.GetField("ENDPOINTID")));
     ((SecurityTokenCache)(item))._KeyGeneration             = ((string)(reader.GetField("KEYGENERATION")));
     ((SecurityTokenCache)(item))._ExpiryTime                = ((System.Nullable <System.DateTime>)(reader.GetField("EXPIRYTIME")));
     ((SecurityTokenCache)(item))._RollingExpiryTime         = ((System.Nullable <System.DateTime>)(reader.GetField("ROLLINGEXPIRYTIME")));
     ((SecurityTokenCache)(item))._SessionSecurityTokenValue = ((byte[])(reader.GetField("SESSIONSECURITYTOKENVALUE")));
     ((SecurityTokenCache)(item))._SessionSecurityTokenID    = ((string)(reader.GetField("SESSIONSECURITYTOKENID")));
     ((SecurityTokenCache)(item))._UserName                  = ((string)(reader.GetField("USERNAME")));
 }
Example #7
0
 public override bool IsEqual(PersistentLib.PersistentObject copy)
 {
     return(this.IsEqual(((ITokenReplayCache)(copy))));
 }
Example #8
0
 public override void CopyDataFrom(PersistentLib.PersistentObject existing)
 {
     this.Copy(((ITokenReplayCache)(existing)));
 }
Example #9
0
 public override void ReadReader(PersistentLib.PersistentObject item, PersistentLib.ReaderWrapper reader)
 {
     base.ReadReader(item, reader);
     ((SecurityTokenCache_Ex)(item))._CurrentTime = ((System.Nullable <System.DateTime>)(reader.GetField("CURRENTTIME")));
 }
Example #10
0
 public override bool IsEqual(PersistentLib.PersistentObject copy)
 {
     return(this.IsEqual(((ISecurityTokenCache)(copy))));
 }
Example #11
0
 public override void CopyDataFrom(PersistentLib.PersistentObject existing)
 {
     this.Copy(((ISecurityTokenCache)(existing)));
 }