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.SerializableAction 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 voidacceptConsentScripts()voidacceptIntrospectionScripts()voidacceptPostAuthnScripts()voidacceptRptClaimsScripts()voidacceptSelectAuthorizedOrigin()voidacceptSelectClaimRedirectUri()voidacceptSelectClaims()voidacceptSelectClientLogoutUri()voidacceptSelectContact()voidacceptSelectCustomScripts()voidacceptSelectGrantTypes()voidacceptSelectLoginUri()voidacceptSelectLogoutUri()voidacceptSelectRequestUri()voidacceptSelectResponseTypes()voidacceptSelectScopes()voidacceptSpontaneousScopesScripts()java.lang.Stringadd()voidaddGrantType(java.lang.String value)voidaddResponseType(java.lang.String value)voidappTypeChanged()java.lang.StringavailableAuthorizedOrigin()java.lang.Stringcancel()voidcancelClaimRedirectUri()voidcancelClientLogoutUri()voidcancelConsentScripts()voidcancelIntrospectionScripts()voidcancelPostAuthnScripts()voidcancelRptClaimsScripts()voidcancelSelectAuthorizedOrigin()voidcancelSelectClaims()voidcancelSelectContact()voidcancelSelectCustomScripts()voidcancelSelectDefaultAcrValue()voidcancelSelectGrantTypes()voidcancelSelectGroups()voidcancelSelectLoginUri()voidcancelSelectLogoutUri()voidcancelSelectRequestUri()voidcancelSelectResponseTypes()voidcancelSelectScopes()voidcancelSelectSectors()voidcancelSpontaneousScopesScripts()booleancheckClientSecretRequired()java.lang.Stringdelete()voidgeneratePassword()OxAuthApplicationType[]getApplicationType()org.gluu.oxauth.model.crypto.signature.AsymmetricSignatureAlgorithm[]getAsymmetricSignatureAlgorithms()AuthenticationMethod[]getAuthenticationMethods()java.util.List<java.lang.String>getAuthorizedOrigins()java.lang.StringgetAvailableAuthorizedOrigin()java.lang.StringgetAvailableClaimRedirectUri()java.util.List<org.gluu.model.GluuAttribute>getAvailableClaims()java.lang.StringgetAvailableClientlogoutUri()java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>getAvailableConsentScripts()java.lang.StringgetAvailableContact()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.StringgetAvailableLoginUri()java.lang.StringgetAvailableLogoutUri()java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>getAvailablePostAuthnScripts()java.lang.StringgetAvailableRequestUri()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()OxAuthClientgetClient()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.StringgetInum()KeyEncryptionAlgorithm[]getKeyEncryptionAlgorithms()java.util.List<java.lang.String>getLoginUris()java.util.List<java.lang.String>getLogoutUris()java.lang.StringgetMarkDown()java.lang.StringgetOxAttributesJson()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.StringgetSearchAvailableClaimPattern()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()booleanisUpdate()voidremoveAuthorizedOrigin(java.lang.String authorizedOrigin)voidremoveClaim(java.lang.String inum)voidremoveClaimRedirectURI(java.lang.String uri)voidremoveClientLogoutURI(java.lang.String uri)voidremoveConsentScript(org.gluu.model.custom.script.model.CustomScript script)voidremoveContact(java.lang.String contact)voidremoveCustomScript(java.lang.String value)voidremoveGrantType(java.lang.String value)voidremoveIntrospectionScript(org.gluu.model.custom.script.model.CustomScript script)voidremoveLoginURI(java.lang.String uri)voidremoveLogoutURI(java.lang.String uri)voidremovePostAuthnScript(org.gluu.model.custom.script.model.CustomScript script)voidremoveRequestUri(java.lang.String requestUri)voidremoveResponseType(java.lang.String value)voidremoveRptClaimsScript(org.gluu.model.custom.script.model.CustomScript script)voidremoveScope(java.lang.String inum)voidremoveSpontaneousScript(org.gluu.model.custom.script.model.CustomScript script)java.lang.Stringsave()voidsearchAvailableClaims()java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>searchAvailableConsentCustomScripts()voidsearchAvailableCustomScripts()voidsearchAvailableGrantTypes()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()voidsearchAvailableResponseTypes()java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>searchAvailableRptClaimsCustomScripts()voidsearchAvailableScopes()java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>searchAvailableSpontaneousScopeScripts()voidselectAddedClaims()voidselectAddedScopes()voidsetAvailableAuthorizedOrigin(java.lang.String availableAuthorizedOrigin)voidsetAvailableClaimRedirectUri(java.lang.String availableClaimRedirectUri)voidsetAvailableClientlogoutUri(java.lang.String availableClientlogoutUri)voidsetAvailableContact(java.lang.String availableContact)voidsetAvailableLoginUri(java.lang.String availableLoginUri)voidsetAvailableLogoutUri(java.lang.String availableLogoutUri)voidsetAvailableRequestUri(java.lang.String availableRequestUri)voidsetClaimRedirectURIList(java.util.List<java.lang.String> claimRedirectURIList)voidsetClientlogoutUris(java.util.List<java.lang.String> clientlogoutUris)voidsetInum(java.lang.String inum)voidsetLoginUris(java.util.List<java.lang.String> values)voidsetMarkDown(java.lang.String markDown)voidsetOxAttributesJson(java.lang.String oxAttributesJson)voidsetSearchAvailableClaimPattern(java.lang.String searchAvailableClaimPattern)voidsetSecret(java.lang.String pwd)voidsubjectTypeChanged()java.lang.Stringupdate()
-
-
-
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()
-
-