Class OAuthContainer
java.lang.Object
edu.internet2.middleware.grouper.grouperUi.beans.ui.OAuthContainer
UI bean container for OAuth consent page data. This container holds fields
related to the OAuth 2.1 authorization consent flow and is not specific to MCP.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetScope()booleanwhether readwrite data scope restrictions are required on the consent pagebooleanbooleanbooleanbooleanbooleanvoidsetClientId(String clientId) voidsetClientName(String clientName) voidsetErrorMessage(String errorMessage) voidsetLoggedInUserName(String loggedInUserName) voidsetRequestId(String requestId) voidsetRequireReadwriteDataScope(boolean requireReadwriteDataScope1) set whether readwrite data scope restrictions are requiredvoidvoidsetShowAdminReadonly(boolean showAdminReadonly) voidsetShowAdminReadwrite(boolean showAdminReadwrite) voidsetShowReadonly(boolean showReadonly) voidsetShowReadwrite(boolean showReadwrite) voidsetShowSqlReadonly(boolean showSqlReadonly)
-
Constructor Details
-
OAuthContainer
public OAuthContainer()
-
-
Method Details
-
getRequestId
- Returns:
- the requestId
-
setRequestId
- Parameters:
requestId- the requestId to set
-
getClientName
- Returns:
- the clientName
-
setClientName
- Parameters:
clientName- the clientName to set
-
getClientId
- Returns:
- the clientId
-
setClientId
- Parameters:
clientId- the clientId to set
-
getScope
- Returns:
- the scope
-
setScope
- Parameters:
scope- the scope to set
-
getLoggedInUserName
- Returns:
- the loggedInUserName
-
setLoggedInUserName
- Parameters:
loggedInUserName- the loggedInUserName to set
-
getErrorMessage
- Returns:
- the errorMessage
-
setErrorMessage
- Parameters:
errorMessage- the errorMessage to set
-
isShowReadonly
public boolean isShowReadonly()- Returns:
- the showReadonly
-
setShowReadonly
public void setShowReadonly(boolean showReadonly) - Parameters:
showReadonly- the showReadonly to set
-
isShowReadwrite
public boolean isShowReadwrite()- Returns:
- the showReadwrite
-
setShowReadwrite
public void setShowReadwrite(boolean showReadwrite) - Parameters:
showReadwrite- the showReadwrite to set
-
isShowSqlReadonly
public boolean isShowSqlReadonly()- Returns:
- the showSqlReadonly
-
setShowSqlReadonly
public void setShowSqlReadonly(boolean showSqlReadonly) - Parameters:
showSqlReadonly- the showSqlReadonly to set
-
isShowAdminReadonly
public boolean isShowAdminReadonly()- Returns:
- the showAdminReadonly
-
setShowAdminReadonly
public void setShowAdminReadonly(boolean showAdminReadonly) - Parameters:
showAdminReadonly- the showAdminReadonly to set
-
isShowAdminReadwrite
public boolean isShowAdminReadwrite()- Returns:
- the showAdminReadwrite
-
setShowAdminReadwrite
public void setShowAdminReadwrite(boolean showAdminReadwrite) - Parameters:
showAdminReadwrite- the showAdminReadwrite to set
-
isRequireReadwriteDataScope
public boolean isRequireReadwriteDataScope()whether readwrite data scope restrictions are required on the consent page- Returns:
- true if required
-
setRequireReadwriteDataScope
public void setRequireReadwriteDataScope(boolean requireReadwriteDataScope1) set whether readwrite data scope restrictions are required- Parameters:
requireReadwriteDataScope1-
-