forked from henriquecd/ma-kerberos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kerberos.apib
110 lines (70 loc) · 2.46 KB
/
kerberos.apib
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
FORMAT: 1A
# Kerberos
Kerberos is a mutual authentication protocol that uses tickets to allow entities communicating over a non-secure network.
## Data Structures
### Kerberos Request (object)
+ request: 0adeadbeefdeadbeefa3a66aa8cb7caa39030303030303030303030303030303037658250a(string)
+ transactionId: 3998beec2b484d42cdbbd088ed1fec29 (string)
+ sessionId: 7ae76bf2bb4c4dc3cdffda3c5e37c9e4 (string)
### Kerberos Reply (object)
+ kerberosReply: 0BDEADBEEFDEADBEEFA3A66AA8CB7CAA39030303030303030303030303030303030C6A51EA9A74BBD7F (string)
+ description: CS-CCS-000 (string)
### appRegistry (object)
+ id: 0001020304050607 (string)
+ key: 000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f (string)
### sessionRegistry (object)
+ sessionId: 3998beec2b484d42cdbbd088ed1fec29 (string)
+ transactionId: 7ae76bf2bb4c4dc3cdffda3c5e37c9e4 (string)
# Group Health
Health can obtain Kerberos status information
### Status [/health/status]
#### Get Kerberos healh status [GET]
+ Response 200
# Group Protocol
Protocol defines APIs used to perform mutual authentication
## RequestAP [/protocol/requestAP]
### Send request [POST]
+ Request (application/json)
+ Attributes (Kerberos Request)
+ Response 200 (application/json)
+ Attributes (Kerberos Reply)
## RequestAS [/protocol/requestAS]
### Send request [POST]
+ Request (application/json)
+ Attributes (Kerberos Request)
+ Response 200 (application/json)
+ Attributes (Kerberos Reply)
# Group Registry
This API registers and unregisters apllications and Kerberos sessions.
## Register Application [/registry/registerComponent]
### Register new application [POST]
+ Request (application/json)
+ Attributes (appRegistry)
+ Response 200 (application/json)
{
"result" : "true"
}
## Unregister Application [/registry/unregisterComponent]
### Delete application registry [POST]
+ Request (application/json)
+ Attributes (appRegistry)
+ Response 200 (application/json)
{
"result" : "true"
}
## Register Session [/registry/registerSession]
### Register new session [POST]
+ Request (application/json)
+ Attributes (sessionRegistry)
+ Response 200 (application/json)
{
"result" : "true"
}
## Unregister Session [/registry/unregisterSession]
### Delete session registry [POST]
+ Request (application/json)
+ Attributes (sessionRegistry)
+ Response 200 (application/json)
{
"result" : "true"
}