public abstract class OAuth2ExpressionUtils extends ObjectSE
| コンストラクターと説明 |
|---|
OAuth2ExpressionUtils() |
| 修飾子と型 | メソッドと説明 |
|---|---|
static boolean | clientHasAnyRole(org.springframework.security.core.Authentication authentication, StringSE... roles) |
static boolean | hasAnyScope(org.springframework.security.core.Authentication authentication, StringSE[] scopes) |
static boolean | hasAnyScopeMatching(org.springframework.security.core.Authentication authentication, StringSE[] scopesRegex) |
static boolean | isOAuth(org.springframework.security.core.Authentication authentication) |
static boolean | isOAuthClientAuth(org.springframework.security.core.Authentication authentication) |
static boolean | isOAuthUserAuth(org.springframework.security.core.Authentication authentication) |
public static boolean clientHasAnyRole(org.springframework.security.core.Authentication authentication,
StringSE... roles)public static boolean isOAuth(org.springframework.security.core.Authentication authentication)
public static boolean isOAuthClientAuth(org.springframework.security.core.Authentication authentication)
public static boolean isOAuthUserAuth(org.springframework.security.core.Authentication authentication)
public static boolean hasAnyScope(org.springframework.security.core.Authentication authentication,
StringSE[] scopes)public static boolean hasAnyScopeMatching(org.springframework.security.core.Authentication authentication,
StringSE[] scopesRegex)Copyright © 2019. All rights reserved.