Package org.gluu.oxtrust.action
Class UpdateClientAction
- java.lang.Object
-
- org.gluu.oxtrust.action.UpdateClientAction
-
- All Implemented Interfaces:
java.io.Serializable
@Named @ConversationScoped @Secure("#{permissionService.hasPermission(\'client\', \'access\')}") public class UpdateClientAction extends java.lang.Object implements java.io.Serializable
Action class for viewing and updating clients.- Version:
- June 21, 2018
- Author:
- Reda Zerrad Date: 06.11.2012, Yuriy Movchan Date: 04/07/2014, Javier Rojas Blum
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateClientAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptConsentScripts()
void
acceptIntrospectionScripts()
void
acceptPostAuthnScripts()
void
acceptRptClaimsScripts()
void
acceptSelectAuthorizedOrigin()
void
acceptSelectClaimRedirectUri()
void
acceptSelectClaims()
void
acceptSelectClientLogoutUri()
void
acceptSelectContact()
void
acceptSelectCustomScripts()
void
acceptSelectGrantTypes()
void
acceptSelectLoginUri()
void
acceptSelectLogoutUri()
void
acceptSelectRequestUri()
void
acceptSelectResponseTypes()
void
acceptSelectScopes()
void
acceptSpontaneousScopesScripts()
java.lang.String
add()
void
addGrantType(java.lang.String value)
void
addResponseType(java.lang.String value)
void
appTypeChanged()
java.lang.String
availableAuthorizedOrigin()
java.lang.String
cancel()
void
cancelClaimRedirectUri()
void
cancelClientLogoutUri()
void
cancelConsentScripts()
void
cancelIntrospectionScripts()
void
cancelPostAuthnScripts()
void
cancelRptClaimsScripts()
void
cancelSelectAuthorizedOrigin()
void
cancelSelectClaims()
void
cancelSelectContact()
void
cancelSelectCustomScripts()
void
cancelSelectDefaultAcrValue()
void
cancelSelectGrantTypes()
void
cancelSelectGroups()
void
cancelSelectLoginUri()
void
cancelSelectLogoutUri()
void
cancelSelectRequestUri()
void
cancelSelectResponseTypes()
void
cancelSelectScopes()
void
cancelSelectSectors()
void
cancelSpontaneousScopesScripts()
boolean
checkClientSecretRequired()
java.lang.String
delete()
void
generatePassword()
OxAuthApplicationType[]
getApplicationType()
org.gluu.oxauth.model.crypto.signature.AsymmetricSignatureAlgorithm[]
getAsymmetricSignatureAlgorithms()
AuthenticationMethod[]
getAuthenticationMethods()
java.util.List<java.lang.String>
getAuthorizedOrigins()
java.lang.String
getAvailableAuthorizedOrigin()
java.lang.String
getAvailableClaimRedirectUri()
java.util.List<org.gluu.model.GluuAttribute>
getAvailableClaims()
java.lang.String
getAvailableClientlogoutUri()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>
getAvailableConsentScripts()
java.lang.String
getAvailableContact()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>
getAvailableCustomScripts()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.oxauth.model.common.GrantType>>
getAvailableGrantTypes()
java.util.List<GluuGroup>
getAvailableGroups()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>
getAvailableIntrospectionScripts()
java.lang.String
getAvailableLoginUri()
java.lang.String
getAvailableLogoutUri()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>
getAvailablePostAuthnScripts()
java.lang.String
getAvailableRequestUri()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.oxauth.model.common.ResponseType>>
getAvailableResponseTypes()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>
getAvailableRptClaimsScripts()
java.util.List<org.gluu.model.SelectableEntity<org.oxauth.persistence.model.Scope>>
getAvailableScopes()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>
getAvailableSpontaneousScopesScripts()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>
getAvailableSpontaneousScripts()
BlockEncryptionAlgorithm[]
getBlockEncryptionAlgorithms()
java.util.List<java.lang.String>
getCibaTokenDeliveryModes()
java.util.List<java.lang.String>
getClaimRedirectURIList()
java.util.List<org.gluu.model.DisplayNameEntry>
getClaims()
OxAuthClient
getClient()
java.util.List<java.lang.String>
getClientlogoutUris()
java.util.List<org.gluu.model.custom.script.model.CustomScript>
getConsentScripts()
java.util.List<java.lang.String>
getContacts()
java.util.List<org.gluu.model.custom.script.model.CustomScript>
getCustomScripts()
java.util.List<org.gluu.oxauth.model.common.GrantType>
getGrantTypes()
java.util.List<org.gluu.model.custom.script.model.CustomScript>
getIntrospectionScripts()
java.lang.String
getInum()
KeyEncryptionAlgorithm[]
getKeyEncryptionAlgorithms()
java.util.List<java.lang.String>
getLoginUris()
java.util.List<java.lang.String>
getLogoutUris()
java.lang.String
getMarkDown()
java.lang.String
getOxAttributesJson()
java.util.List<org.gluu.model.custom.script.model.CustomScript>
getPostAuthnScripts()
java.util.List<java.lang.String>
getRequestUris()
java.util.List<org.gluu.oxauth.model.common.ResponseType>
getResponseTypes()
java.util.List<org.gluu.model.custom.script.model.CustomScript>
getRptClaimsScripts()
java.util.List<org.oxauth.persistence.model.Scope>
getScopes()
java.util.List<org.gluu.model.custom.script.model.CustomScript>
getScripts(org.gluu.model.custom.script.CustomScriptType type)
java.lang.String
getSearchAvailableClaimPattern()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>
getSelectableScripts(org.gluu.model.custom.script.CustomScriptType type)
SignatureAlgorithm[]
getSignatureAlgorithms()
SignatureAlgorithm[]
getSignatureAlgorithmsWithoutNone()
java.util.List<org.gluu.model.custom.script.model.CustomScript>
getSpontaneousScopesScripts()
OxAuthSubjectType[]
getSubjectTypes()
boolean
isUpdate()
void
removeAuthorizedOrigin(java.lang.String authorizedOrigin)
void
removeClaim(java.lang.String inum)
void
removeClaimRedirectURI(java.lang.String uri)
void
removeClientLogoutURI(java.lang.String uri)
void
removeConsentScript(org.gluu.model.custom.script.model.CustomScript script)
void
removeContact(java.lang.String contact)
void
removeCustomScript(java.lang.String value)
void
removeGrantType(java.lang.String value)
void
removeIntrospectionScript(org.gluu.model.custom.script.model.CustomScript script)
void
removeLoginURI(java.lang.String uri)
void
removeLogoutURI(java.lang.String uri)
void
removePostAuthnScript(org.gluu.model.custom.script.model.CustomScript script)
void
removeRequestUri(java.lang.String requestUri)
void
removeResponseType(java.lang.String value)
void
removeRptClaimsScript(org.gluu.model.custom.script.model.CustomScript script)
void
removeScope(java.lang.String inum)
void
removeSpontaneousScript(org.gluu.model.custom.script.model.CustomScript script)
java.lang.String
save()
void
searchAvailableClaims()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>
searchAvailableConsentCustomScripts()
void
searchAvailableCustomScripts()
void
searchAvailableGrantTypes()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>
searchAvailableIntrospectionCustomScripts()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>
searchAvailablePostAuthnCustomScripts()
void
searchAvailableResponseTypes()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>
searchAvailableRptClaimsCustomScripts()
void
searchAvailableScopes()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>
searchAvailableSpontaneousScopeScripts()
void
selectAddedClaims()
void
selectAddedScopes()
void
setAvailableAuthorizedOrigin(java.lang.String availableAuthorizedOrigin)
void
setAvailableClaimRedirectUri(java.lang.String availableClaimRedirectUri)
void
setAvailableClientlogoutUri(java.lang.String availableClientlogoutUri)
void
setAvailableContact(java.lang.String availableContact)
void
setAvailableLoginUri(java.lang.String availableLoginUri)
void
setAvailableLogoutUri(java.lang.String availableLogoutUri)
void
setAvailableRequestUri(java.lang.String availableRequestUri)
void
setClaimRedirectURIList(java.util.List<java.lang.String> claimRedirectURIList)
void
setClientlogoutUris(java.util.List<java.lang.String> clientlogoutUris)
void
setInum(java.lang.String inum)
void
setLoginUris(java.util.List<java.lang.String> values)
void
setMarkDown(java.lang.String markDown)
void
setOxAttributesJson(java.lang.String oxAttributesJson)
void
setSearchAvailableClaimPattern(java.lang.String searchAvailableClaimPattern)
void
setSecret(java.lang.String pwd)
void
subjectTypeChanged()
java.lang.String
update()
-
-
-
Method Detail
-
getAvailableAuthorizedOrigin
public java.lang.String getAvailableAuthorizedOrigin()
-
setAvailableAuthorizedOrigin
public void setAvailableAuthorizedOrigin(java.lang.String availableAuthorizedOrigin)
-
getAvailableClaimRedirectUri
public java.lang.String getAvailableClaimRedirectUri()
-
setAvailableClaimRedirectUri
public void setAvailableClaimRedirectUri(java.lang.String availableClaimRedirectUri)
-
add
public java.lang.String add() throws java.lang.Exception
- Throws:
java.lang.Exception
-
update
public java.lang.String update() throws java.lang.Exception
- Throws:
java.lang.Exception
-
cancel
public java.lang.String cancel()
-
save
public java.lang.String save() throws java.lang.Exception
- Throws:
java.lang.Exception
-
delete
public java.lang.String delete() throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeLoginURI
public void removeLoginURI(java.lang.String uri)
-
removeLogoutURI
public void removeLogoutURI(java.lang.String uri)
-
removeClientLogoutURI
public void removeClientLogoutURI(java.lang.String uri)
-
removeClaimRedirectURI
public void removeClaimRedirectURI(java.lang.String uri)
-
removePostAuthnScript
public void removePostAuthnScript(org.gluu.model.custom.script.model.CustomScript script)
-
removeRptClaimsScript
public void removeRptClaimsScript(org.gluu.model.custom.script.model.CustomScript script)
-
removeConsentScript
public void removeConsentScript(org.gluu.model.custom.script.model.CustomScript script)
-
removeSpontaneousScript
public void removeSpontaneousScript(org.gluu.model.custom.script.model.CustomScript script)
-
removeIntrospectionScript
public void removeIntrospectionScript(org.gluu.model.custom.script.model.CustomScript script)
-
removeContact
public void removeContact(java.lang.String contact)
-
removeRequestUri
public void removeRequestUri(java.lang.String requestUri)
-
removeAuthorizedOrigin
public void removeAuthorizedOrigin(java.lang.String authorizedOrigin)
-
removeScope
public void removeScope(java.lang.String inum)
-
removeClaim
public void removeClaim(java.lang.String inum) throws java.lang.Exception
- Throws:
java.lang.Exception
-
acceptSelectLoginUri
public void acceptSelectLoginUri()
-
acceptSelectClaims
public void acceptSelectClaims()
-
acceptSelectLogoutUri
public void acceptSelectLogoutUri()
-
acceptSelectClientLogoutUri
public void acceptSelectClientLogoutUri()
-
acceptSelectClaimRedirectUri
public void acceptSelectClaimRedirectUri()
-
acceptSelectContact
public void acceptSelectContact()
-
acceptSelectRequestUri
public void acceptSelectRequestUri()
-
acceptSelectAuthorizedOrigin
public void acceptSelectAuthorizedOrigin()
-
cancelIntrospectionScripts
public void cancelIntrospectionScripts()
-
cancelPostAuthnScripts
public void cancelPostAuthnScripts()
-
cancelRptClaimsScripts
public void cancelRptClaimsScripts()
-
cancelConsentScripts
public void cancelConsentScripts()
-
cancelSpontaneousScopesScripts
public void cancelSpontaneousScopesScripts()
-
cancelSelectClaims
public void cancelSelectClaims()
-
cancelSelectGroups
public void cancelSelectGroups()
-
cancelSelectLoginUri
public void cancelSelectLoginUri()
-
cancelSelectLogoutUri
public void cancelSelectLogoutUri()
-
cancelClientLogoutUri
public void cancelClientLogoutUri()
-
cancelClaimRedirectUri
public void cancelClaimRedirectUri()
-
cancelSelectContact
public void cancelSelectContact()
-
cancelSelectDefaultAcrValue
public void cancelSelectDefaultAcrValue()
-
cancelSelectRequestUri
public void cancelSelectRequestUri()
-
cancelSelectAuthorizedOrigin
public void cancelSelectAuthorizedOrigin()
-
selectAddedClaims
public void selectAddedClaims()
-
searchAvailableClaims
public void searchAvailableClaims()
-
acceptSelectResponseTypes
public void acceptSelectResponseTypes()
-
cancelSelectSectors
public void cancelSelectSectors()
-
acceptSelectCustomScripts
public void acceptSelectCustomScripts()
-
acceptIntrospectionScripts
public void acceptIntrospectionScripts()
-
acceptPostAuthnScripts
public void acceptPostAuthnScripts()
-
acceptRptClaimsScripts
public void acceptRptClaimsScripts()
-
acceptConsentScripts
public void acceptConsentScripts()
-
acceptSpontaneousScopesScripts
public void acceptSpontaneousScopesScripts()
-
acceptSelectScopes
public void acceptSelectScopes()
-
removeCustomScript
public void removeCustomScript(java.lang.String value)
-
acceptSelectGrantTypes
public void acceptSelectGrantTypes()
-
cancelSelectCustomScripts
public void cancelSelectCustomScripts()
-
cancelSelectScopes
public void cancelSelectScopes()
-
cancelSelectResponseTypes
public void cancelSelectResponseTypes()
-
cancelSelectGrantTypes
public void cancelSelectGrantTypes()
-
addResponseType
public void addResponseType(java.lang.String value)
-
addGrantType
public void addGrantType(java.lang.String value)
-
removeResponseType
public void removeResponseType(java.lang.String value)
-
removeGrantType
public void removeGrantType(java.lang.String value)
-
searchAvailableResponseTypes
public void searchAvailableResponseTypes()
-
searchAvailableCustomScripts
public void searchAvailableCustomScripts()
-
searchAvailableIntrospectionCustomScripts
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>> searchAvailableIntrospectionCustomScripts()
-
searchAvailablePostAuthnCustomScripts
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>> searchAvailablePostAuthnCustomScripts()
-
searchAvailableRptClaimsCustomScripts
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>> searchAvailableRptClaimsCustomScripts()
-
searchAvailableConsentCustomScripts
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>> searchAvailableConsentCustomScripts()
-
searchAvailableSpontaneousScopeScripts
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>> searchAvailableSpontaneousScopeScripts()
-
getSelectableScripts
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>> getSelectableScripts(org.gluu.model.custom.script.CustomScriptType type)
-
getScripts
public java.util.List<org.gluu.model.custom.script.model.CustomScript> getScripts(org.gluu.model.custom.script.CustomScriptType type)
-
searchAvailableScopes
public void searchAvailableScopes()
-
searchAvailableGrantTypes
public void searchAvailableGrantTypes()
-
selectAddedScopes
public void selectAddedScopes()
-
getClaimRedirectURIList
public java.util.List<java.lang.String> getClaimRedirectURIList()
-
setClaimRedirectURIList
public void setClaimRedirectURIList(java.util.List<java.lang.String> claimRedirectURIList)
-
getInum
public java.lang.String getInum()
-
setInum
public void setInum(java.lang.String inum)
-
getClient
public OxAuthClient getClient()
-
isUpdate
public boolean isUpdate()
-
getAvailableLoginUri
public java.lang.String getAvailableLoginUri()
-
setAvailableLoginUri
public void setAvailableLoginUri(java.lang.String availableLoginUri)
-
getAvailableLogoutUri
public java.lang.String getAvailableLogoutUri()
-
setAvailableLogoutUri
public void setAvailableLogoutUri(java.lang.String availableLogoutUri)
-
getAvailableContact
public java.lang.String getAvailableContact()
-
setAvailableContact
public void setAvailableContact(java.lang.String availableContact)
-
getAvailableRequestUri
public java.lang.String getAvailableRequestUri()
-
availableAuthorizedOrigin
public java.lang.String availableAuthorizedOrigin()
-
setAvailableRequestUri
public void setAvailableRequestUri(java.lang.String availableRequestUri)
-
getAvailableScopes
public java.util.List<org.gluu.model.SelectableEntity<org.oxauth.persistence.model.Scope>> getAvailableScopes()
-
getAvailableClaims
public java.util.List<org.gluu.model.GluuAttribute> getAvailableClaims()
-
getAvailableGroups
public java.util.List<GluuGroup> getAvailableGroups()
-
getAvailableResponseTypes
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.oxauth.model.common.ResponseType>> getAvailableResponseTypes()
-
getAvailableCustomScripts
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>> getAvailableCustomScripts()
-
getPostAuthnScripts
public java.util.List<org.gluu.model.custom.script.model.CustomScript> getPostAuthnScripts()
-
getRptClaimsScripts
public java.util.List<org.gluu.model.custom.script.model.CustomScript> getRptClaimsScripts()
-
getConsentScripts
public java.util.List<org.gluu.model.custom.script.model.CustomScript> getConsentScripts()
-
getSpontaneousScopesScripts
public java.util.List<org.gluu.model.custom.script.model.CustomScript> getSpontaneousScopesScripts()
-
getIntrospectionScripts
public java.util.List<org.gluu.model.custom.script.model.CustomScript> getIntrospectionScripts()
-
getAvailablePostAuthnScripts
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>> getAvailablePostAuthnScripts()
-
getAvailableRptClaimsScripts
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>> getAvailableRptClaimsScripts()
-
getAvailableConsentScripts
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>> getAvailableConsentScripts()
-
getAvailableSpontaneousScopesScripts
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>> getAvailableSpontaneousScopesScripts()
-
getAvailableIntrospectionScripts
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>> getAvailableIntrospectionScripts()
-
getAvailableGrantTypes
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.oxauth.model.common.GrantType>> getAvailableGrantTypes()
-
getLoginUris
public java.util.List<java.lang.String> getLoginUris()
-
setLoginUris
public void setLoginUris(java.util.List<java.lang.String> values)
-
getLogoutUris
public java.util.List<java.lang.String> getLogoutUris()
-
getScopes
public java.util.List<org.oxauth.persistence.model.Scope> getScopes()
-
getClaims
public java.util.List<org.gluu.model.DisplayNameEntry> getClaims()
-
getResponseTypes
public java.util.List<org.gluu.oxauth.model.common.ResponseType> getResponseTypes()
-
getCustomScripts
public java.util.List<org.gluu.model.custom.script.model.CustomScript> getCustomScripts()
-
getGrantTypes
public java.util.List<org.gluu.oxauth.model.common.GrantType> getGrantTypes()
-
getContacts
public java.util.List<java.lang.String> getContacts()
-
getRequestUris
public java.util.List<java.lang.String> getRequestUris()
-
getAuthorizedOrigins
public java.util.List<java.lang.String> getAuthorizedOrigins()
-
getSearchAvailableClaimPattern
public java.lang.String getSearchAvailableClaimPattern()
-
setSearchAvailableClaimPattern
public void setSearchAvailableClaimPattern(java.lang.String searchAvailableClaimPattern)
-
getAvailableClientlogoutUri
public java.lang.String getAvailableClientlogoutUri()
-
setAvailableClientlogoutUri
public void setAvailableClientlogoutUri(java.lang.String availableClientlogoutUri)
-
getClientlogoutUris
public java.util.List<java.lang.String> getClientlogoutUris()
-
setClientlogoutUris
public void setClientlogoutUris(java.util.List<java.lang.String> clientlogoutUris)
-
checkClientSecretRequired
public boolean checkClientSecretRequired()
-
generatePassword
public void generatePassword() throws org.gluu.util.security.StringEncrypter.EncryptionException
- Throws:
org.gluu.util.security.StringEncrypter.EncryptionException
-
setSecret
public void setSecret(java.lang.String pwd) throws org.gluu.util.security.StringEncrypter.EncryptionException
- Throws:
org.gluu.util.security.StringEncrypter.EncryptionException
-
getMarkDown
public java.lang.String getMarkDown()
-
setMarkDown
public void setMarkDown(java.lang.String markDown)
-
getOxAttributesJson
public java.lang.String getOxAttributesJson()
-
setOxAttributesJson
public void setOxAttributesJson(java.lang.String oxAttributesJson)
-
subjectTypeChanged
public void subjectTypeChanged()
-
appTypeChanged
public void appTypeChanged()
-
getApplicationType
public OxAuthApplicationType[] getApplicationType()
-
getSubjectTypes
public OxAuthSubjectType[] getSubjectTypes()
-
getSignatureAlgorithmsWithoutNone
public SignatureAlgorithm[] getSignatureAlgorithmsWithoutNone()
-
getSignatureAlgorithms
public SignatureAlgorithm[] getSignatureAlgorithms()
-
getKeyEncryptionAlgorithms
public KeyEncryptionAlgorithm[] getKeyEncryptionAlgorithms()
-
getBlockEncryptionAlgorithms
public BlockEncryptionAlgorithm[] getBlockEncryptionAlgorithms()
-
getAuthenticationMethods
public AuthenticationMethod[] getAuthenticationMethods()
-
getAsymmetricSignatureAlgorithms
public org.gluu.oxauth.model.crypto.signature.AsymmetricSignatureAlgorithm[] getAsymmetricSignatureAlgorithms()
-
getCibaTokenDeliveryModes
public java.util.List<java.lang.String> getCibaTokenDeliveryModes()
-
getAvailableSpontaneousScripts
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>> getAvailableSpontaneousScripts()
-
-