Uses of Annotation Interface
com.peterphi.std.guice.common.auth.annotations.AuthConstraint
Package
Description
-
Uses of AuthConstraint in com.peterphi.std.guice.common.auth
Modifier and TypeMethodDescriptionAuthScope.getRoles
(AuthConstraint annotation) Determine the required role for a given (optionally annotated) method.boolean
AuthScope.getSkip
(AuthConstraint annotation) Determine the value of "skip" for a given (optionally annotated) method. -
Uses of AuthConstraint in com.peterphi.std.guice.common.auth.iface
Modifier and TypeMethodDescriptionAccessRefuser.refuse
(AuthScope scope, AuthConstraint constraint, CurrentUser user) Return a Throwable (should either be an Error or a RuntimeException) to be raised when the provided user fails the authentication constraint -
Uses of AuthConstraint in com.peterphi.std.guice.metrics.rest.impl
-
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.auth.oauth2
Modifier and TypeMethodDescriptionRedirectToOAuthAccessRefuser.refuse
(AuthScope scope, AuthConstraint constraint, CurrentUser login) -
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.auth.oauth2.rest.impl
-
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.service.breaker
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
GuiceRestBreakerServiceImpl.testBreaker
(String breakerName) -
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.service.caches
-
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.service.daemons
-
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.service.jwt
-
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.service.logging
-
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.service.restcore
Modifier and TypeClassDescriptionclass
A helper REST service that allows basic services; superseded by other core servicesModifier and TypeMethodDescriptionbyte[]
GuiceCommonRestResourcesImpl.getBootstrapCSS()
GuiceRestCoreServiceImpl.ping()
-
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.service.servicedescription
Modifier and TypeClassDescriptionclass
class
A simple REST resource that lists the services registered with theRestResourceRegistry
N.B. -
Uses of AuthConstraint in com.peterphi.usermanager.guice.authentication
-
Uses of AuthConstraint in com.peterphi.usermanager.rest.impl
Modifier and TypeMethodDescriptionUserManagerOAuthServiceImpl.createDelegatedAccessToken
(String clientId, String secret, long validityPeriod, String refreshToken, String authorizationHeader) javax.ws.rs.core.Response
UserManagerOAuthServiceImpl.getAuth
(String responseType, String clientId, String redirectUri, String state, String scope) javax.ws.rs.core.Response
UserManagerOAuthServiceImpl.getOIDCUserInfo
(String bearerTokenHeader) javax.ws.rs.core.Response
UserManagerOAuthServiceImpl.getOIDCUserInfoPost
(String bearerTokenHeader) UserManagerOAuthServiceImpl.getToken
(String grantType, String code, String redirectUri, String clientId, String secret, String refreshToken, String username, String password, String subjectToken, String authorizationHeader) javax.ws.rs.core.Response
UserManagerOAuthServiceImpl.userMadeAuthDecision
(String responseType, String clientId, String redirectUri, String state, String scope, String token, String decision) -
Uses of AuthConstraint in com.peterphi.usermanager.ui.impl
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
UserUIServiceImpl.deleteUser
(int userId, String token) javax.ws.rs.core.Response
javax.ws.rs.core.Response
javax.ws.rs.core.Response
RegisterUIServiceImpl.doRegister
(String token, String email, String name, String dateFormat, String timeZone, String password, String passwordConfirm, List<String> roles) RegisterUIServiceImpl.getRegister()
UserUIServiceImpl.getUsers
(javax.ws.rs.core.UriInfo query) UserUIServiceImpl.getWarnAndRedirect
(String url) javax.ws.rs.core.Response
UserUIServiceImpl.impersonate
(int userId, String token)