Package org.yamcs.security
Class ThirdPartyAuthorizationCode
- java.lang.Object
-
- org.yamcs.security.ThirdPartyAuthorizationCode
-
- All Implemented Interfaces:
AuthenticationToken
public class ThirdPartyAuthorizationCode extends Object implements 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
SpnegoAuthModulefor a representative example
-
-
Constructor Summary
Constructors Constructor Description ThirdPartyAuthorizationCode(String code)
-