Commit Graph

6 Commits

Author SHA1 Message Date
Jonathan Bernard
fb722a898e Fixed a regression based on the ServiceType toString implementation.
The DB code relied on the ServiceType toString matching the enum name. Moved
the displayable value to a dedicated field and reference it in the UI.
2015-03-23 04:04:58 -05:00
Jonathan Bernard
73be769483 Added individual song and service pages. 2015-03-17 22:30:55 -05:00
Jonathan Bernard
e13bf171b1 Added user login endpoint. 2015-03-07 14:18:05 -06:00
Jonathan Bernard
66cd8f579a Added equals implementations on model classes. 2015-03-07 14:16:52 -06:00
Jonathan Bernard
83a0f7275c Implemented token-based API authentication.
Replaced the ApiKey concept with ephemeral tokens. Users and apps obtain a
token by authenticating the user credentials (to be implemented). The service
then generates a temporary token that is stored by the client and sent with
every request using the `Authorization-Token` header. The server verifies this
token to recognize and authenticate the request. With an authenticated user,
the server can use the user's role to authorize requests.

This implementation uses JSR 250 SecurityContext and security annotations.
2015-03-02 21:20:25 -06:00
Jonathan Bernard
3e07dc20bf Created model objects and DB layer. 2015-02-20 01:08:17 -06:00