Return type:
Applies to:
VALIDATE-SEAL ( domain-access-code )
Caution: Given any client-principal that is sealed with it, this domain access code provides session and database access when validated using a single sign-on (SSO) operation against a trusted domain registry that contains a matching domain with the same access code. Therefore, Progress Software corporation strongly recommends that you take steps to hide or otherwise protect any domain access code that you specify in your ABL code from access (hacking) by unauthorized users.The AVM also checks the LOGIN-EXPIRATION-TIMESTAMP attribute. If the client-principal object expires before you can validate its seal, the AVM sets the LOGIN-STATE attribute to "EXPIRED" and returns FALSE.
DEFINE VARIABLE hCP AS HANDLE NO-UNDO.DEFINE VARIABLE key AS CHARACTER NO-UNDO.DEFINE VARIABLE val-ok AS LOGICAL NO-UNDO.. . .CREATE CLIENT-PRINCIPAL hCp.. . .val-ok = hCP:VALIDATE-SEAL(key).
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |