Uses of Annotation Interface
com.peterphi.std.guice.common.auth.annotations.AuthConstraint
Packages that use AuthConstraint
Package
Description
-
Uses of AuthConstraint in com.peterphi.std.guice.common.auth
Methods in com.peterphi.std.guice.common.auth with parameters of type AuthConstraintModifier 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
Methods in com.peterphi.std.guice.common.auth.iface with parameters of type AuthConstraintModifier 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
Classes in com.peterphi.std.guice.metrics.rest.impl with annotations of type AuthConstraint -
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.auth.oauth2
Methods in com.peterphi.std.guice.web.rest.auth.oauth2 with parameters of type AuthConstraintModifier and TypeMethodDescriptionRedirectToOAuthAccessRefuser.refuse
(AuthScope scope, AuthConstraint constraint, CurrentUser login) -
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.auth.oauth2.rest.impl
Methods in com.peterphi.std.guice.web.rest.auth.oauth2.rest.impl with annotations of type AuthConstraint -
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.service.breaker
Classes in com.peterphi.std.guice.web.rest.service.breaker with annotations of type AuthConstraintMethods in com.peterphi.std.guice.web.rest.service.breaker with annotations of type AuthConstraintModifier and TypeMethodDescriptionjavax.ws.rs.core.Response
GuiceRestBreakerServiceImpl.testBreaker
(String breakerName) -
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.service.caches
Classes in com.peterphi.std.guice.web.rest.service.caches with annotations of type AuthConstraint -
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.service.daemons
Classes in com.peterphi.std.guice.web.rest.service.daemons with annotations of type AuthConstraint -
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.service.jwt
Classes in com.peterphi.std.guice.web.rest.service.jwt with annotations of type AuthConstraintMethods in com.peterphi.std.guice.web.rest.service.jwt with annotations of type AuthConstraint -
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.service.logging
Classes in com.peterphi.std.guice.web.rest.service.logging with annotations of type AuthConstraint -
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.service.restcore
Classes in com.peterphi.std.guice.web.rest.service.restcore with annotations of type AuthConstraintModifier and TypeClassDescriptionclass
A helper REST service that allows basic services; superseded by other core servicesMethods in com.peterphi.std.guice.web.rest.service.restcore with annotations of type AuthConstraintModifier and TypeMethodDescriptionbyte[]
GuiceCommonRestResourcesImpl.getBootstrapCSS()
GuiceRestCoreServiceImpl.ping()
-
Uses of AuthConstraint in com.peterphi.std.guice.web.rest.service.servicedescription
Classes in com.peterphi.std.guice.web.rest.service.servicedescription with annotations of type AuthConstraintModifier 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
Methods in com.peterphi.usermanager.guice.authentication with annotations of type AuthConstraint -
Uses of AuthConstraint in com.peterphi.usermanager.rest.impl
Methods in com.peterphi.usermanager.rest.impl with annotations of type AuthConstraintModifier 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
Classes in com.peterphi.usermanager.ui.impl with annotations of type AuthConstraintModifier and TypeClassDescriptionclass
class
class
Methods in com.peterphi.usermanager.ui.impl with annotations of type AuthConstraintModifier 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)