• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 10.2.0.83
GDKerberosAuthHandler.h
Go to the documentation of this file.
1 /*
2  * (c) 2017 BlackBerry Limited. All rights reserved.
3  *
4  */
5 
6 #ifndef GD_KRB_API_GDKERBEROSAUTHHANDLER_H_
7 #define GD_KRB_API_GDKERBEROSAUTHHANDLER_H_
8 
9 #include <stdint.h>
10 #if defined(__APPLE__)
11 #include <TargetConditionals.h>
12 #endif
13 
14 # define GD_ATTRIBUTE __attribute__
15 
16 namespace GD
17 {
18 
19 namespace KRB_API
20 {
21 
22 enum class Krb5ErrorCode : int32_t; // see definitions further.
23 
34 {
35 public:
37 
43  virtual void operator()(Krb5ErrorCode error) = 0;
44 };
45 
59 class GD_ATTRIBUTE((visibility("default"))) GDKerberosAuthHandler /* final */
60 {
61 
62 public:
69 
70 public:
71 
86  static bool getAllowDelegation();
87 
123  static void setAllowDelegation(bool allow);
124 
131  static void clearCache();
132 
167  Krb5ErrorCode setUpKerberosTicket(const char* username,
168  const char* password,
169  bool allowDelegation);
170 
188  Krb5ErrorCode setUpKerberosTicket(const char* username,
189  const char* password);
190 
214  Krb5ErrorCode setUpKerberosTicket(bool allowDelegation);
215 
249  Krb5ErrorCode setUpKerberosTicket(const char* host,
250  int port,
251  bool allowDelegation);
252 
269  Krb5ErrorCode setUpKerberosTicket(const char* host, int port);
270 
286  bool implicitCredentialsAllowed();
287 
323  void setUpKerberosTicketAsync(const char* username, const char* password, bool allowDelegation, GDKerberosAuthCallback& callback);
324 
343  void setUpKerberosTicketAsync(const char* username, const char* password, GDKerberosAuthCallback& callback);
344 
369  void setUpKerberosTicketAsync(bool allowDelegation, GDKerberosAuthCallback& callback);
370 
405  void setUpKerberosTicketAsync(const char* host, int port, bool allowDelegation, GDKerberosAuthCallback& callback);
406 
424  void setUpKerberosTicketAsync(const char* host, int port, GDKerberosAuthCallback& callback);
425 
426 private:
427  void *authKerberos;
428 };
429 
448 enum class Krb5ErrorCode
449 {
450  KDC_ERR_NONE = -1765328384,
451  KDC_ERR_NAME_EXP = -1765328383,
452  KDC_ERR_SERVICE_EXP = -1765328382,
453  KDC_ERR_BAD_PVNO = -1765328381,
454  KDC_ERR_C_OLD_MAST_KVNO = -1765328380,
455  KDC_ERR_S_OLD_MAST_KVNO = -1765328379,
456  KDC_ERR_C_PRINCIPAL_UNKNOWN = -1765328378,
457  KDC_ERR_S_PRINCIPAL_UNKNOWN = -1765328377,
458  KDC_ERR_PRINCIPAL_NOT_UNIQUE = -1765328376,
459  KDC_ERR_NULL_KEY = -1765328375,
460  KDC_ERR_CANNOT_POSTDATE = -1765328374,
461  KDC_ERR_NEVER_VALID = -1765328373,
462  KDC_ERR_POLICY = -1765328372,
463  KDC_ERR_BADOPTION = -1765328371,
464  KDC_ERR_ETYPE_NOSUPP = -1765328370,
465  KDC_ERR_SUMTYPE_NOSUPP = -1765328369,
466  KDC_ERR_PADATA_TYPE_NOSUPP = -1765328368,
467  KDC_ERR_TRTYPE_NOSUPP = -1765328367,
468  KDC_ERR_CLIENT_REVOKED = -1765328366,
469  KDC_ERR_SERVICE_REVOKED = -1765328365,
470  KDC_ERR_TGT_REVOKED = -1765328364,
471  KDC_ERR_CLIENT_NOTYET = -1765328363,
472  KDC_ERR_SERVICE_NOTYET = -1765328362,
473  KDC_ERR_KEY_EXPIRED = -1765328361,
474  KDC_ERR_PREAUTH_FAILED = -1765328360,
475  KDC_ERR_PREAUTH_REQUIRED = -1765328359,
476  KDC_ERR_SERVER_NOMATCH = -1765328358,
478  KDC_ERR_PATH_NOT_ACCEPTED = -1765328356,
479  KDC_ERR_SVC_UNAVAILABLE = -1765328355,
480  KRB_AP_ERR_BAD_INTEGRITY = -1765328353,
481  KRB_AP_ERR_TKT_EXPIRED = -1765328352,
482  KRB_AP_ERR_TKT_NYV = -1765328351,
483  KRB_AP_ERR_REPEAT = -1765328350,
484  KRB_AP_ERR_NOT_US = -1765328349,
485  KRB_AP_ERR_BADMATCH = -1765328348,
486  KRB_AP_ERR_SKEW = -1765328347,
487  KRB_AP_ERR_BADADDR = -1765328346,
488  KRB_AP_ERR_BADVERSION = -1765328345,
489  KRB_AP_ERR_MSG_TYPE = -1765328344,
490  KRB_AP_ERR_MODIFIED = -1765328343,
491  KRB_AP_ERR_BADORDER = -1765328342,
492  KRB_AP_ERR_ILL_CR_TKT = -1765328341,
493  KRB_AP_ERR_BADKEYVER = -1765328340,
494  KRB_AP_ERR_NOKEY = -1765328339,
495  KRB_AP_ERR_MUT_FAIL = -1765328338,
496  KRB_AP_ERR_BADDIRECTION = -1765328337,
497  KRB_AP_ERR_METHOD = -1765328336,
498  KRB_AP_ERR_BADSEQ = -1765328335,
499  KRB_AP_ERR_INAPP_CKSUM = -1765328334,
500  KRB_AP_PATH_NOT_ACCEPTED = -1765328333,
501  KRB_ERR_RESPONSE_TOO_BIG = -1765328332,
502  KRB_ERR_GENERIC = -1765328324,
503  KRB_ERR_FIELD_TOOLONG = -1765328323,
504  KDC_ERR_CLIENT_NOT_TRUSTED = -1765328322,
505  KDC_ERR_KDC_NOT_TRUSTED = -1765328321,
506  KDC_ERR_INVALID_SIG = -1765328320,
508  KDC_ERR_WRONG_REALM = -1765328316,
509  AP_ERR_USER_TO_USER_REQUIRED = -1765328315,
510  KDC_ERR_CANT_VERIFY_CERTIFICATE = -1765328314,
511  KDC_ERR_INVALID_CERTIFICATE = -1765328313,
512  KDC_ERR_REVOKED_CERTIFICATE = -1765328312,
513  KDC_ERR_REVOCATION_STATUS_UNKNOWN = -1765328311,
515  KDC_ERR_CLIENT_NAME_MISMATCH = -1765328309,
516  KDC_ERR_INCONSISTENT_KEY_PURPOSE = -1765328308,
521  KDC_ERR_INVALID_HASH_ALG = -1765328290,
522  KDC_ERR_INVALID_ITERATION_COUNT = -1765328289,
523  ERR_RCSID = -1765328256,
524  LIBOS_BADLOCKFLAG = -1765328255,
525  LIBOS_CANTREADPWD = -1765328254,
526  LIBOS_BADPWDMATCH = -1765328253,
527  LIBOS_PWDINTR = -1765328252,
528  PARSE_ILLCHAR = -1765328251,
529  PARSE_MALFORMED = -1765328250,
530  CONFIG_CANTOPEN = -1765328249,
531  CONFIG_BADFORMAT = -1765328248,
532  CONFIG_NOTENUFSPACE = -1765328247,
533  BADMSGTYPE = -1765328246,
534  CC_BADNAME = -1765328245,
535  CC_UNKNOWN_TYPE = -1765328244,
536  CC_NOTFOUND = -1765328243,
537  CC_END = -1765328242,
538  NO_TKT_SUPPLIED = -1765328241,
539  KRB5KRB_AP_WRONG_PRINC = -1765328240,
540  KRB5KRB_AP_ERR_TKT_INVALID = -1765328239,
541  PRINC_NOMATCH = -1765328238,
542  KDCREP_MODIFIED = -1765328237,
543  KDCREP_SKEW = -1765328236,
544  IN_TKT_REALM_MISMATCH = -1765328235,
545  PROG_ETYPE_NOSUPP = -1765328234,
546  PROG_KEYTYPE_NOSUPP = -1765328233,
547  WRONG_ETYPE = -1765328232,
548  PROG_SUMTYPE_NOSUPP = -1765328231,
549  REALM_UNKNOWN = -1765328230,
550  SERVICE_UNKNOWN = -1765328229,
551  KDC_UNREACH = -1765328228,
552  NO_LOCALNAME = -1765328227,
553  MUTUAL_FAILED = -1765328226,
554  RC_TYPE_EXISTS = -1765328225,
555  RC_MALLOC = -1765328224,
556  RC_TYPE_NOTFOUND = -1765328223,
557  RC_UNKNOWN = -1765328222,
558  RC_REPLAY = -1765328221,
559  RC_IO = -1765328220,
560  RC_NOIO = -1765328219,
561  RC_PARSE = -1765328218,
562  RC_IO_EOF = -1765328217,
563  RC_IO_MALLOC = -1765328216,
564  RC_IO_PERM = -1765328215,
565  RC_IO_IO = -1765328214,
566  RC_IO_UNKNOWN = -1765328213,
567  RC_IO_SPACE = -1765328212,
568  TRANS_CANTOPEN = -1765328211,
569  TRANS_BADFORMAT = -1765328210,
570  LNAME_CANTOPEN = -1765328209,
571  LNAME_NOTRANS = -1765328208,
572  LNAME_BADFORMAT = -1765328207,
573  CRYPTO_INTERNAL = -1765328206,
574  KT_BADNAME = -1765328205,
575  KT_UNKNOWN_TYPE = -1765328204,
576  KT_NOTFOUND = -1765328203,
577  KT_END = -1765328202,
578  KT_NOWRITE = -1765328201,
579  KT_IOERR = -1765328200,
580  NO_TKT_IN_RLM = -1765328199,
581  DES_BAD_KEYPAR = -1765328198,
582  DES_WEAK_KEY = -1765328197,
583  BAD_ENCTYPE = -1765328196,
584  BAD_KEYSIZE = -1765328195,
585  BAD_MSIZE = -1765328194,
586  CC_TYPE_EXISTS = -1765328193,
587  KT_TYPE_EXISTS = -1765328192,
588  CC_IO = -1765328191,
589  FCC_PERM = -1765328190,
590  FCC_NOFILE = -1765328189,
591  FCC_INTERNAL = -1765328188,
592  CC_WRITE = -1765328187,
593  CC_NOMEM = -1765328186,
594  CC_FORMAT = -1765328185,
595  CC_NOT_KTYPE = -1765328184,
596  INVALID_FLAGS = -1765328183,
597  NO_2ND_TKT = -1765328182,
598  NOCREDS_SUPPLIED = -1765328181,
599  SENDAUTH_BADAUTHVERS = -1765328180,
600  SENDAUTH_BADAPPLVERS = -1765328179,
601  SENDAUTH_BADRESPONSE = -1765328178,
602  SENDAUTH_REJECTED = -1765328177,
603  PREAUTH_BAD_TYPE = -1765328176,
604  PREAUTH_NO_KEY = -1765328175,
605  PREAUTH_FAILED = -1765328174,
606  RCACHE_BADVNO = -1765328173,
607  CCACHE_BADVNO = -1765328172,
608  KEYTAB_BADVNO = -1765328171,
609  PROG_ATYPE_NOSUPP = -1765328170,
610  RC_REQUIRED = -1765328169,
611  ERR_BAD_HOSTNAME = -1765328168,
612  ERR_HOST_REALM_UNKNOWN = -1765328167,
613  SNAME_UNSUPP_NAMETYPE = -1765328166,
614  KRB_AP_ERR_V4_REPLY = -1765328165,
615  REALM_CANT_RESOLVE = -1765328164,
616  TKT_NOT_FORWARDABLE = -1765328163,
617  FWD_BAD_PRINCIPAL = -1765328162,
618  GET_IN_TKT_LOOP = -1765328161,
619  CONFIG_NODEFREALM = -1765328160,
620  SAM_UNSUPPORTED = -1765328159,
621  SAM_INVALID_ETYPE = -1765328158,
622  SAM_NO_CHECKSUM = -1765328157,
623  SAM_BAD_CHECKSUM = -1765328156,
624  OBSOLETE_FN = -1765328146,
625  ERR_BAD_S2K_PARAMS = -1765328139,
626  ERR_NO_SERVICE = -1765328138,
627  CC_NOSUPP = -1765328137,
628  DELTAT_BADFORMAT = -1765328136,
629  PLUGIN_NO_HANDLE = -1765328135,
630  PLUGIN_OP_NOTSUPP = -1765328134
631 };
632 
637 } // namespace KRB_API
638 
639 } // namespace GD
640 
641 #endif /* GDKERBEROSAUTHHANDLER_H_ */
GD
Definition: GDKerberosAuthHandler.h:16
GD::KRB_API::Krb5ErrorCode::CC_NOSUPP
@ CC_NOSUPP
GD::KRB_API::Krb5ErrorCode::KDC_ERR_PREAUTH_REQUIRED
@ KDC_ERR_PREAUTH_REQUIRED
GD::KRB_API::Krb5ErrorCode::KDC_ERR_PUBLIC_KEY_ENCRYPTION_NOT_SUPPORTED
@ KDC_ERR_PUBLIC_KEY_ENCRYPTION_NOT_SUPPORTED
GD::KRB_API::Krb5ErrorCode::KDC_ERR_S_PRINCIPAL_UNKNOWN
@ KDC_ERR_S_PRINCIPAL_UNKNOWN
GD::KRB_API::Krb5ErrorCode::GET_IN_TKT_LOOP
@ GET_IN_TKT_LOOP
GD::KRB_API::Krb5ErrorCode::KDC_ERR_CANNOT_POSTDATE
@ KDC_ERR_CANNOT_POSTDATE
GD::KRB_API::Krb5ErrorCode::LNAME_NOTRANS
@ LNAME_NOTRANS
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_TKT_NYV
@ KRB_AP_ERR_TKT_NYV
GD::KRB_API::Krb5ErrorCode::KDC_ERR_INVALID_ITERATION_COUNT
@ KDC_ERR_INVALID_ITERATION_COUNT
GD::KRB_API::Krb5ErrorCode::KDC_ERR_POLICY
@ KDC_ERR_POLICY
GD::KRB_API::Krb5ErrorCode::BAD_ENCTYPE
@ BAD_ENCTYPE
GD::KRB_API::Krb5ErrorCode::RCACHE_BADVNO
@ RCACHE_BADVNO
GD::KRB_API::Krb5ErrorCode::KDC_ERR_PA_CHECKSUM_MUST_BE_INCLUDED
@ KDC_ERR_PA_CHECKSUM_MUST_BE_INCLUDED
GD::KRB_API::Krb5ErrorCode::KDC_ERR_NAME_EXP
@ KDC_ERR_NAME_EXP
GD::KRB_API::Krb5ErrorCode::SENDAUTH_BADAUTHVERS
@ SENDAUTH_BADAUTHVERS
GD::KRB_API::Krb5ErrorCode::CC_FORMAT
@ CC_FORMAT
GD::KRB_API::Krb5ErrorCode::PARSE_ILLCHAR
@ PARSE_ILLCHAR
GD::KRB_API::Krb5ErrorCode::RC_MALLOC
@ RC_MALLOC
GD::KRB_API::Krb5ErrorCode::PROG_KEYTYPE_NOSUPP
@ PROG_KEYTYPE_NOSUPP
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_BADKEYVER
@ KRB_AP_ERR_BADKEYVER
GD::KRB_API::Krb5ErrorCode::CC_NOMEM
@ CC_NOMEM
GD::KRB_API::Krb5ErrorCode::KT_IOERR
@ KT_IOERR
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_BAD_INTEGRITY
@ KRB_AP_ERR_BAD_INTEGRITY
GD::KRB_API::Krb5ErrorCode::LNAME_CANTOPEN
@ LNAME_CANTOPEN
GD::KRB_API::Krb5ErrorCode::RC_PARSE
@ RC_PARSE
GD::KRB_API::Krb5ErrorCode::PLUGIN_NO_HANDLE
@ PLUGIN_NO_HANDLE
GD::KRB_API::Krb5ErrorCode::CC_TYPE_EXISTS
@ CC_TYPE_EXISTS
GD::KRB_API::Krb5ErrorCode::KDC_ERR_REVOCATION_STATUS_UNKNOWN
@ KDC_ERR_REVOCATION_STATUS_UNKNOWN
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_NOT_US
@ KRB_AP_ERR_NOT_US
GD::KRB_API::Krb5ErrorCode::SENDAUTH_BADRESPONSE
@ SENDAUTH_BADRESPONSE
GD::KRB_API::Krb5ErrorCode::CONFIG_NODEFREALM
@ CONFIG_NODEFREALM
GD::KRB_API::Krb5ErrorCode::KDC_ERR_NULL_KEY
@ KDC_ERR_NULL_KEY
GD::KRB_API::Krb5ErrorCode::KDC_ERR_SERVER_NOMATCH
@ KDC_ERR_SERVER_NOMATCH
GD::KRB_API::Krb5ErrorCode::OBSOLETE_FN
@ OBSOLETE_FN
GD::KRB_API::Krb5ErrorCode::KRB_ERR_RESPONSE_TOO_BIG
@ KRB_ERR_RESPONSE_TOO_BIG
GD::KRB_API::Krb5ErrorCode::CONFIG_BADFORMAT
@ CONFIG_BADFORMAT
GD::KRB_API::Krb5ErrorCode::TKT_NOT_FORWARDABLE
@ TKT_NOT_FORWARDABLE
GD::KRB_API::Krb5ErrorCode::KDC_ERR_KDC_ERR_MUST_USE_USER2USER
@ KDC_ERR_KDC_ERR_MUST_USE_USER2USER
GD::KRB_API::Krb5ErrorCode::KDCREP_MODIFIED
@ KDCREP_MODIFIED
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_ILL_CR_TKT
@ KRB_AP_ERR_ILL_CR_TKT
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_REPEAT
@ KRB_AP_ERR_REPEAT
GD::KRB_API::Krb5ErrorCode::REALM_UNKNOWN
@ REALM_UNKNOWN
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_METHOD
@ KRB_AP_ERR_METHOD
GD::KRB_API::Krb5ErrorCode::KDC_ERR_REVOKED_CERTIFICATE
@ KDC_ERR_REVOKED_CERTIFICATE
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_TKT_EXPIRED
@ KRB_AP_ERR_TKT_EXPIRED
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_BADORDER
@ KRB_AP_ERR_BADORDER
GD::KRB_API::Krb5ErrorCode::KDC_ERR_SERVICE_EXP
@ KDC_ERR_SERVICE_EXP
GD::KRB_API::Krb5ErrorCode::KDC_ERR_DH_KEY_PARAMETERS_NOT_ACCEPTED
@ KDC_ERR_DH_KEY_PARAMETERS_NOT_ACCEPTED
GD::KRB_API::Krb5ErrorCode::KDC_ERR_PADATA_TYPE_NOSUPP
@ KDC_ERR_PADATA_TYPE_NOSUPP
GD::KRB_API::Krb5ErrorCode::KT_END
@ KT_END
GD::KRB_API::Krb5ErrorCode::LIBOS_BADLOCKFLAG
@ LIBOS_BADLOCKFLAG
GD::KRB_API::Krb5ErrorCode::CC_WRITE
@ CC_WRITE
GD::KRB_API::Krb5ErrorCode::KDC_ERR_SERVICE_NOTYET
@ KDC_ERR_SERVICE_NOTYET
GD::KRB_API::Krb5ErrorCode::PREAUTH_FAILED
@ PREAUTH_FAILED
GD::KRB_API::Krb5ErrorCode::SERVICE_UNKNOWN
@ SERVICE_UNKNOWN
GD::KRB_API::Krb5ErrorCode::SENDAUTH_REJECTED
@ SENDAUTH_REJECTED
GD::KRB_API::Krb5ErrorCode::RC_IO_IO
@ RC_IO_IO
GD::KRB_API::Krb5ErrorCode::SAM_UNSUPPORTED
@ SAM_UNSUPPORTED
GD::KRB_API::Krb5ErrorCode::RC_NOIO
@ RC_NOIO
GD::KRB_API::Krb5ErrorCode::RC_IO_PERM
@ RC_IO_PERM
GD::KRB_API::Krb5ErrorCode::KDC_ERR_SUMTYPE_NOSUPP
@ KDC_ERR_SUMTYPE_NOSUPP
GD::KRB_API::Krb5ErrorCode::SNAME_UNSUPP_NAMETYPE
@ SNAME_UNSUPP_NAMETYPE
GD::KRB_API::Krb5ErrorCode::KDC_ERR_S_OLD_MAST_KVNO
@ KDC_ERR_S_OLD_MAST_KVNO
GD::KRB_API::Krb5ErrorCode::DES_WEAK_KEY
@ DES_WEAK_KEY
GD::KRB_API::Krb5ErrorCode::KDC_ERR_INVALID_CERTIFICATE
@ KDC_ERR_INVALID_CERTIFICATE
GD::KRB_API::GDKerberosAuthHandler
Manage the BlackBerry Dynamics cache of Kerberos credentials (C++).
Definition: GDKerberosAuthHandler.h:59
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_BADVERSION
@ KRB_AP_ERR_BADVERSION
GD::KRB_API::Krb5ErrorCode::KDC_ERR_C_OLD_MAST_KVNO
@ KDC_ERR_C_OLD_MAST_KVNO
GD::KRB_API::Krb5ErrorCode::RC_TYPE_NOTFOUND
@ RC_TYPE_NOTFOUND
GD::KRB_API::Krb5ErrorCode::RC_TYPE_EXISTS
@ RC_TYPE_EXISTS
GD::KRB_API::Krb5ErrorCode::AP_ERR_USER_TO_USER_REQUIRED
@ AP_ERR_USER_TO_USER_REQUIRED
GD::KRB_API::Krb5ErrorCode::KRB_ERR_FIELD_TOOLONG
@ KRB_ERR_FIELD_TOOLONG
GD::KRB_API::Krb5ErrorCode::KDC_ERR_REVOCATION_STATUS_UNAVAILABLE
@ KDC_ERR_REVOCATION_STATUS_UNAVAILABLE
GD::KRB_API::Krb5ErrorCode::CONFIG_CANTOPEN
@ CONFIG_CANTOPEN
GD::KRB_API::Krb5ErrorCode::KDC_ERR_NONE
@ KDC_ERR_NONE
GD::KRB_API::GDKerberosAuthCallback
Asynchronous callback functor informing if Kerberos ticket creation succeeded (C++).
Definition: GDKerberosAuthHandler.h:33
GD::KRB_API::Krb5ErrorCode::KDC_ERR_C_PRINCIPAL_UNKNOWN
@ KDC_ERR_C_PRINCIPAL_UNKNOWN
GD::KRB_API::Krb5ErrorCode::KRB_ERR_GENERIC
@ KRB_ERR_GENERIC
GD::KRB_API::Krb5ErrorCode::PROG_SUMTYPE_NOSUPP
@ PROG_SUMTYPE_NOSUPP
GD::KRB_API::Krb5ErrorCode::RC_IO_MALLOC
@ RC_IO_MALLOC
GD::KRB_API::Krb5ErrorCode::PLUGIN_OP_NOTSUPP
@ PLUGIN_OP_NOTSUPP
GD::KRB_API::Krb5ErrorCode::KRB_AP_PATH_NOT_ACCEPTED
@ KRB_AP_PATH_NOT_ACCEPTED
GD::KRB_API::Krb5ErrorCode::IN_TKT_REALM_MISMATCH
@ IN_TKT_REALM_MISMATCH
GD::KRB_API::Krb5ErrorCode::BADMSGTYPE
@ BADMSGTYPE
GD::KRB_API::Krb5ErrorCode::KDC_ERR_NEVER_VALID
@ KDC_ERR_NEVER_VALID
GD::KRB_API::Krb5ErrorCode::FWD_BAD_PRINCIPAL
@ FWD_BAD_PRINCIPAL
GD::KRB_API::Krb5ErrorCode::KRB5KRB_AP_WRONG_PRINC
@ KRB5KRB_AP_WRONG_PRINC
GD::KRB_API::Krb5ErrorCode::REALM_CANT_RESOLVE
@ REALM_CANT_RESOLVE
GD::KRB_API::Krb5ErrorCode::KDC_ERR_TRTYPE_NOSUPP
@ KDC_ERR_TRTYPE_NOSUPP
GD::KRB_API::Krb5ErrorCode::KDC_ERR_TGT_REVOKED
@ KDC_ERR_TGT_REVOKED
GD::KRB_API::Krb5ErrorCode::KDCREP_SKEW
@ KDCREP_SKEW
GD::KRB_API::Krb5ErrorCode::PREAUTH_NO_KEY
@ PREAUTH_NO_KEY
GD::KRB_API::Krb5ErrorCode::RC_REPLAY
@ RC_REPLAY
GD::KRB_API::Krb5ErrorCode::ERR_RCSID
@ ERR_RCSID
GD::KRB_API::Krb5ErrorCode::LIBOS_CANTREADPWD
@ LIBOS_CANTREADPWD
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_MODIFIED
@ KRB_AP_ERR_MODIFIED
GD::KRB_API::Krb5ErrorCode::CC_NOT_KTYPE
@ CC_NOT_KTYPE
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_MSG_TYPE
@ KRB_AP_ERR_MSG_TYPE
GD::KRB_API::Krb5ErrorCode::KDC_ERR_CANT_VERIFY_CERTIFICATE
@ KDC_ERR_CANT_VERIFY_CERTIFICATE
GD::KRB_API::Krb5ErrorCode::CCACHE_BADVNO
@ CCACHE_BADVNO
GD::KRB_API::Krb5ErrorCode::KT_UNKNOWN_TYPE
@ KT_UNKNOWN_TYPE
GD::KRB_API::Krb5ErrorCode::NO_2ND_TKT
@ NO_2ND_TKT
GD::KRB_API::Krb5ErrorCode::SENDAUTH_BADAPPLVERS
@ SENDAUTH_BADAPPLVERS
GD::KRB_API::Krb5ErrorCode::KRB5KRB_AP_ERR_TKT_INVALID
@ KRB5KRB_AP_ERR_TKT_INVALID
GD::KRB_API::Krb5ErrorCode::KDC_ERR_CLIENT_NOT_TRUSTED
@ KDC_ERR_CLIENT_NOT_TRUSTED
GD::KRB_API::Krb5ErrorCode::KDC_ERR_INCONSISTENT_KEY_PURPOSE
@ KDC_ERR_INCONSISTENT_KEY_PURPOSE
GD::KRB_API::Krb5ErrorCode::ERR_BAD_HOSTNAME
@ ERR_BAD_HOSTNAME
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_NOKEY
@ KRB_AP_ERR_NOKEY
GD::KRB_API::Krb5ErrorCode::SAM_BAD_CHECKSUM
@ SAM_BAD_CHECKSUM
GD::KRB_API::Krb5ErrorCode::RC_IO_SPACE
@ RC_IO_SPACE
GD::KRB_API::Krb5ErrorCode::SAM_NO_CHECKSUM
@ SAM_NO_CHECKSUM
GD::KRB_API::Krb5ErrorCode::NOCREDS_SUPPLIED
@ NOCREDS_SUPPLIED
GD::KRB_API::Krb5ErrorCode::NO_TKT_IN_RLM
@ NO_TKT_IN_RLM
GD::KRB_API::Krb5ErrorCode::FCC_NOFILE
@ FCC_NOFILE
GD::KRB_API::Krb5ErrorCode::DES_BAD_KEYPAR
@ DES_BAD_KEYPAR
GD::KRB_API::Krb5ErrorCode::RC_IO_UNKNOWN
@ RC_IO_UNKNOWN
GD::KRB_API::Krb5ErrorCode::KDC_ERR_SERVICE_REVOKED
@ KDC_ERR_SERVICE_REVOKED
GD::KRB_API::Krb5ErrorCode::KDC_ERR_CLIENT_NOTYET
@ KDC_ERR_CLIENT_NOTYET
GD::KRB_API::Krb5ErrorCode::PARSE_MALFORMED
@ PARSE_MALFORMED
GD::KRB_API::Krb5ErrorCode::KDC_ERR_SVC_UNAVAILABLE
@ KDC_ERR_SVC_UNAVAILABLE
GD::KRB_API::Krb5ErrorCode
Krb5ErrorCode
Kerberos 5 error codes.
Definition: GDKerberosAuthHandler.h:448
GD::KRB_API::Krb5ErrorCode::KDC_ERR_INVALID_SIG
@ KDC_ERR_INVALID_SIG
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_INAPP_CKSUM
@ KRB_AP_ERR_INAPP_CKSUM
GD::KRB_API::Krb5ErrorCode::TRANS_BADFORMAT
@ TRANS_BADFORMAT
GD::KRB_API::Krb5ErrorCode::KT_BADNAME
@ KT_BADNAME
GD::KRB_API::Krb5ErrorCode::LIBOS_BADPWDMATCH
@ LIBOS_BADPWDMATCH
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_MUT_FAIL
@ KRB_AP_ERR_MUT_FAIL
GD::KRB_API::Krb5ErrorCode::KDC_ERR_KEY_EXPIRED
@ KDC_ERR_KEY_EXPIRED
GD::KRB_API::Krb5ErrorCode::SAM_INVALID_ETYPE
@ SAM_INVALID_ETYPE
GD::KRB_API::Krb5ErrorCode::KDC_ERR_BAD_PVNO
@ KDC_ERR_BAD_PVNO
GD::KRB_API::Krb5ErrorCode::RC_IO
@ RC_IO
GD::KRB_API::Krb5ErrorCode::RC_UNKNOWN
@ RC_UNKNOWN
GD::KRB_API::Krb5ErrorCode::KEYTAB_BADVNO
@ KEYTAB_BADVNO
GD::KRB_API::Krb5ErrorCode::BAD_KEYSIZE
@ BAD_KEYSIZE
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_BADMATCH
@ KRB_AP_ERR_BADMATCH
GD::KRB_API::Krb5ErrorCode::KDC_ERR_ETYPE_NOSUPP
@ KDC_ERR_ETYPE_NOSUPP
GD::KRB_API::Krb5ErrorCode::FCC_PERM
@ FCC_PERM
GD::KRB_API::Krb5ErrorCode::LIBOS_PWDINTR
@ LIBOS_PWDINTR
GD::KRB_API::Krb5ErrorCode::KDC_ERR_PREAUTH_FAILED
@ KDC_ERR_PREAUTH_FAILED
GD::KRB_API::Krb5ErrorCode::KDC_ERR_DIGEST_IN_CERT_NOT_ACCEPTED
@ KDC_ERR_DIGEST_IN_CERT_NOT_ACCEPTED
GD::KRB_API::Krb5ErrorCode::RC_IO_EOF
@ RC_IO_EOF
GD::KRB_API::Krb5ErrorCode::CC_UNKNOWN_TYPE
@ CC_UNKNOWN_TYPE
GD::KRB_API::Krb5ErrorCode::MUTUAL_FAILED
@ MUTUAL_FAILED
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_BADSEQ
@ KRB_AP_ERR_BADSEQ
GD::KRB_API::Krb5ErrorCode::CC_IO
@ CC_IO
GD::KRB_API::Krb5ErrorCode::KDC_ERR_KDC_NOT_TRUSTED
@ KDC_ERR_KDC_NOT_TRUSTED
GD::KRB_API::Krb5ErrorCode::INVALID_FLAGS
@ INVALID_FLAGS
GD::KRB_API::Krb5ErrorCode::CRYPTO_INTERNAL
@ CRYPTO_INTERNAL
GD::KRB_API::Krb5ErrorCode::FCC_INTERNAL
@ FCC_INTERNAL
GD::KRB_API::Krb5ErrorCode::ERR_NO_SERVICE
@ ERR_NO_SERVICE
GD_ATTRIBUTE
#define GD_ATTRIBUTE
Definition: GDKerberosAuthHandler.h:14
GD::KRB_API::Krb5ErrorCode::PREAUTH_BAD_TYPE
@ PREAUTH_BAD_TYPE
GD::KRB_API::Krb5ErrorCode::KDC_ERR_PATH_NOT_ACCEPTED
@ KDC_ERR_PATH_NOT_ACCEPTED
GD::KRB_API::Krb5ErrorCode::ERR_BAD_S2K_PARAMS
@ ERR_BAD_S2K_PARAMS
GD::KRB_API::Krb5ErrorCode::CC_END
@ CC_END
GD::KRB_API::Krb5ErrorCode::KT_NOWRITE
@ KT_NOWRITE
GD::KRB_API::Krb5ErrorCode::KDC_ERR_PRINCIPAL_NOT_UNIQUE
@ KDC_ERR_PRINCIPAL_NOT_UNIQUE
GD::KRB_API::Krb5ErrorCode::KDC_ERR_INVALID_HASH_ALG
@ KDC_ERR_INVALID_HASH_ALG
GD::KRB_API::Krb5ErrorCode::NO_LOCALNAME
@ NO_LOCALNAME
GD::KRB_API::Krb5ErrorCode::TRANS_CANTOPEN
@ TRANS_CANTOPEN
GD::KRB_API::Krb5ErrorCode::PROG_ETYPE_NOSUPP
@ PROG_ETYPE_NOSUPP
GD::KRB_API::Krb5ErrorCode::BAD_MSIZE
@ BAD_MSIZE
GD::KRB_API::Krb5ErrorCode::KT_NOTFOUND
@ KT_NOTFOUND
GD::KRB_API::Krb5ErrorCode::NO_TKT_SUPPLIED
@ NO_TKT_SUPPLIED
GD::KRB_API::Krb5ErrorCode::WRONG_ETYPE
@ WRONG_ETYPE
GD::KRB_API::Krb5ErrorCode::KDC_ERR_BADOPTION
@ KDC_ERR_BADOPTION
GD::KRB_API::Krb5ErrorCode::KT_TYPE_EXISTS
@ KT_TYPE_EXISTS
GD::KRB_API::Krb5ErrorCode::LNAME_BADFORMAT
@ LNAME_BADFORMAT
GD::KRB_API::Krb5ErrorCode::KDC_ERR_CLIENT_NAME_MISMATCH
@ KDC_ERR_CLIENT_NAME_MISMATCH
GD::KRB_API::Krb5ErrorCode::CONFIG_NOTENUFSPACE
@ CONFIG_NOTENUFSPACE
GD::KRB_API::GDKerberosAuthCallback::~GDKerberosAuthCallback
virtual ~GDKerberosAuthCallback()
Definition: GDKerberosAuthHandler.h:36
GD::KRB_API::Krb5ErrorCode::PRINC_NOMATCH
@ PRINC_NOMATCH
GD::KRB_API::Krb5ErrorCode::KDC_UNREACH
@ KDC_UNREACH
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_SKEW
@ KRB_AP_ERR_SKEW
GD::KRB_API::Krb5ErrorCode::CC_NOTFOUND
@ CC_NOTFOUND
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_V4_REPLY
@ KRB_AP_ERR_V4_REPLY
GD::KRB_API::Krb5ErrorCode::PROG_ATYPE_NOSUPP
@ PROG_ATYPE_NOSUPP
GD::KRB_API::Krb5ErrorCode::KDC_ERR_DIGEST_IN_SIGNED_DATA_NOT_ACCEPTED
@ KDC_ERR_DIGEST_IN_SIGNED_DATA_NOT_ACCEPTED
GD::KRB_API::Krb5ErrorCode::RC_REQUIRED
@ RC_REQUIRED
GD::KRB_API::Krb5ErrorCode::DELTAT_BADFORMAT
@ DELTAT_BADFORMAT
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_BADADDR
@ KRB_AP_ERR_BADADDR
GD::KRB_API::Krb5ErrorCode::CC_BADNAME
@ CC_BADNAME
GD::KRB_API::Krb5ErrorCode::KDC_ERR_WRONG_REALM
@ KDC_ERR_WRONG_REALM
GD::KRB_API::Krb5ErrorCode::KDC_ERR_CLIENT_REVOKED
@ KDC_ERR_CLIENT_REVOKED
GD::KRB_API::Krb5ErrorCode::ERR_HOST_REALM_UNKNOWN
@ ERR_HOST_REALM_UNKNOWN
GD::KRB_API::Krb5ErrorCode::KRB_AP_ERR_BADDIRECTION
@ KRB_AP_ERR_BADDIRECTION