Package org.yamcs.security
Class ThirdPartyAuthorizationCode
java.lang.Object
org.yamcs.security.ThirdPartyAuthorizationCode
- All Implemented Interfaces:
AuthenticationToken
Represents a token (or 'authorization_code' in oauth terms) issued by an external identity server. This is
used in situations where Yamcs does not itself perform the authentication.
The type of code is an implementation choice of the AuthModule. It may directly represent an externally issued token, although ideally the AuthModule should not expose such information, and instead manage an internal mapping via self-issued transient tokens.
See SpnegoAuthModule
for a representative example
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ThirdPartyAuthorizationCode
-
-
Method Details
-
getPrincipal
-