@Deprecated public abstract class OAuth2ExpressionUtils extends Object
Constructor and Description |
---|
OAuth2ExpressionUtils()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
clientHasAnyRole(org.springframework.security.core.Authentication authentication,
String... roles)
Deprecated.
|
static boolean |
hasAnyScope(org.springframework.security.core.Authentication authentication,
String[] scopes)
Deprecated.
|
static boolean |
hasAnyScopeMatching(org.springframework.security.core.Authentication authentication,
String[] scopesRegex)
Deprecated.
|
static boolean |
isOAuth(org.springframework.security.core.Authentication authentication)
Deprecated.
|
static boolean |
isOAuthClientAuth(org.springframework.security.core.Authentication authentication)
Deprecated.
|
static boolean |
isOAuthUserAuth(org.springframework.security.core.Authentication authentication)
Deprecated.
|
public static boolean clientHasAnyRole(org.springframework.security.core.Authentication authentication, String... 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, String[] scopes)
public static boolean hasAnyScopeMatching(org.springframework.security.core.Authentication authentication, String[] scopesRegex)
Copyright © 2019. All rights reserved.