Class UpdateUmaScopeAction

  • All Implemented Interfaces:
    java.io.Serializable

    @Named("updateUmaScopeAction")
    @ConversationScoped
    @Secure("#{permissionService.hasPermission(\'uma\', \'access\')}")
    public class UpdateUmaScopeAction
    extends java.lang.Object
    implements java.io.Serializable
    Action class for view and update UMA resource
    Author:
    Yuriy Movchan Date: 11/21/2012
    See Also:
    Serialized Form
    • Field Detail

      • scopeDescriptionService

        @Inject
        protected UmaScopeService scopeDescriptionService
    • Constructor Detail

      • UpdateUmaScopeAction

        public UpdateUmaScopeAction()
    • Method Detail

      • getClientList

        public java.util.List<OxAuthClient> getClientList()
      • setClientList

        public void setClientList​(java.util.List<OxAuthClient> clientList)
      • add

        public java.lang.String add()
      • update

        public java.lang.String update()
      • 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()
      • removeIconImage

        public void removeIconImage()
      • setIconImage

        public void setIconImage​(org.richfaces.event.FileUploadEvent event)
      • getIconImageThumbData

        public byte[] getIconImageThumbData()
      • getIconImageSourceName

        public java.lang.String getIconImageSourceName()
      • isIconExist

        public boolean isIconExist()
      • acceptSelectAuthorizationPolicies

        public void acceptSelectAuthorizationPolicies()
      • cancelSelectAuthorizationPolicies

        public void cancelSelectAuthorizationPolicies()
      • addAuthorizationPolicy

        public void addAuthorizationPolicy​(org.gluu.model.custom.script.model.CustomScript addAuthorizationPolicy)
      • removeAuthorizationPolicy

        public void removeAuthorizationPolicy​(org.gluu.model.custom.script.model.CustomScript removeAuthorizationPolicy)
      • searchAvailableAuthorizationPolicies

        public void searchAvailableAuthorizationPolicies()
      • isUpdate

        public boolean isUpdate()
      • getScopeInum

        public java.lang.String getScopeInum()
      • setScopeInum

        public void setScopeInum​(java.lang.String scopeInum)
      • getUmaScope

        public org.oxauth.persistence.model.Scope getUmaScope()
      • setUmaScope

        public void setUmaScope​(org.oxauth.persistence.model.Scope umaScope)
      • getAvailableAuthorizationPolicies

        public java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>> getAvailableAuthorizationPolicies()
      • getAuthorizationPolicies

        public java.util.List<org.gluu.model.custom.script.model.CustomScript> getAuthorizationPolicies()
      • getOxAttributesJson

        public java.lang.String getOxAttributesJson()
      • setOxAttributesJson

        public void setOxAttributesJson​(java.lang.String oxAttributesJson)