public class AuthTokenGenerator extends Object implements ITokenGenerator
AuthToken auth. This is something specific
to API Man and is used for testing and demos. In any production environment something
like OAuth or some other bearer token authentication should be used between the UI
and the management API.| Constructor and Description |
|---|
AuthTokenGenerator()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BearerTokenCredentialsBean |
generateToken(javax.servlet.http.HttpServletRequest request)
Generates a token.
|
public BearerTokenCredentialsBean generateToken(javax.servlet.http.HttpServletRequest request)
ITokenGeneratorgenerateToken in interface ITokenGeneratorio.apiman.manager.ui.server.auth.api.security.ITokenGenerator#generateToken(javax.servlet.http.HttpServletRequest)Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.