Class AccessTokenServiceImpl

java.lang.Object
org.graylog2.database.PersistedServiceImpl
org.graylog2.security.AccessTokenServiceImpl
All Implemented Interfaces:
PersistedService, AccessTokenService

@Singleton public class AccessTokenServiceImpl extends PersistedServiceImpl implements AccessTokenService
Provides access to access tokens in the database.

The token value will automatically be encrypted/decrypted when storing/loading the token object from the database. That means the token value is encrypted at rest but the loaded AccessToken always contains the plain text value.