public class AuthorizationProperties extends Object
| Constructor and Description |
|---|
AuthorizationProperties() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAuthenticatedPaths() |
String |
getDashboardUrl() |
String |
getExternalAuthoritiesUrl() |
String |
getLoginProcessingUrl() |
String |
getLoginUrl() |
String |
getLogoutSuccessUrl() |
String |
getLogoutUrl() |
List<String> |
getPermitAllPaths() |
Map<String,String> |
getRoleMappings()
When using OAuth2 with enabled
setMapOauthScopes(boolean), you can optionally specify a custom
mapping of OAuth scopes to role names as they exist in the Data Flow application. |
List<String> |
getRules() |
boolean |
isMapOauthScopes() |
void |
setAuthenticatedPaths(List<String> authenticatedPaths) |
void |
setDashboardUrl(String dashboardUrl) |
void |
setExternalAuthoritiesUrl(String externalAuthoritiesUrl) |
void |
setLoginProcessingUrl(String loginProcessingUrl) |
void |
setLoginUrl(String loginUrl) |
void |
setLogoutSuccessUrl(String logoutSuccessUrl) |
void |
setLogoutUrl(String logoutUrl) |
void |
setMapOauthScopes(boolean mapOauthScopes)
If set to true, Oauth scopes will be mapped to corresponding Data Flow roles.
|
void |
setPermitAllPaths(List<String> permitAllPaths) |
void |
setRules(List<String> rules) |
public String getExternalAuthoritiesUrl()
public void setExternalAuthoritiesUrl(String externalAuthoritiesUrl)
public String getDashboardUrl()
public void setDashboardUrl(String dashboardUrl)
public String getLoginUrl()
public void setLoginUrl(String loginUrl)
public String getLoginProcessingUrl()
public void setLoginProcessingUrl(String loginProcessingUrl)
public String getLogoutUrl()
public void setLogoutUrl(String logoutUrl)
public String getLogoutSuccessUrl()
public void setLogoutSuccessUrl(String logoutSuccessUrl)
public boolean isMapOauthScopes()
public void setMapOauthScopes(boolean mapOauthScopes)
mapOauthScopes - If not set defaults to falsepublic Map<String,String> getRoleMappings()
setMapOauthScopes(boolean), you can optionally specify a custom
mapping of OAuth scopes to role names as they exist in the Data Flow application. If not
set, then the OAuth scopes themselves must match the role names:
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.