Class UpdateTrustRelationshipAction

java.lang.Object
org.gluu.oxtrust.action.UpdateTrustRelationshipAction
All Implemented Interfaces:
Serializable

@ConversationScoped @Named("updateTrustRelationshipAction") @Secure("#{permissionService.hasPermission(\'trust\', \'access\')}") public class UpdateTrustRelationshipAction extends Object implements Serializable
Action class for updating and adding the trust relationships
Author:
Yuriy Movchan Date: 11.04.2010
See Also:
  • Constructor Details

    • UpdateTrustRelationshipAction

      public UpdateTrustRelationshipAction()
  • Method Details

    • getMetadataSourceTypesList

      public List<GluuMetadataSourceType> getMetadataSourceTypesList()
    • add

      public String add()
    • update

      public String update()
    • cancel

      public String cancel()
    • save

      public String save()
    • saveImpl

      public String saveImpl()
    • newThreadSaveSpMetaDataFileSourceTypeURI

      @Asynchronous public void newThreadSaveSpMetaDataFileSourceTypeURI()
    • initTrustRelationship

      public void initTrustRelationship(GluuSAMLTrustRelationship trust, List<org.gluu.model.GluuAttribute> attributes)
    • getCertForGeneratedSP

      public String getCertForGeneratedSP() throws IOException
      Throws:
      IOException
    • updateReleasedAttributes

      public void updateReleasedAttributes(GluuSAMLTrustRelationship trustRelationship)
    • saveSpMetaDataFileSourceTypeURI

      public boolean saveSpMetaDataFileSourceTypeURI() throws IOException
      Throws:
      IOException
    • delete

      public String delete()
    • downloadConfiguration

      public String downloadConfiguration()
    • downloadConfigurationImpl

      public String downloadConfigurationImpl()
    • getFileWrapper

      public javax.servlet.http.Part getFileWrapper()
    • setFileWrapper

      public void setFileWrapper(javax.servlet.http.Part fileWrapper)
    • getCertWrapper

      public javax.servlet.http.Part getCertWrapper()
    • setCertWrapper

      public void setCertWrapper(javax.servlet.http.Part certWrapper)
    • getInum

      public String getInum()
    • setInum

      public void setInum(String inum)
    • getTrustRelationship

      public GluuSAMLTrustRelationship getTrustRelationship()
    • getMetadata

      public String getMetadata() throws IOException
      Throws:
      IOException
    • isUpdate

      public boolean isUpdate()
    • getEventQueue

      protected String getEventQueue()
    • getActionName

      protected String getActionName()
    • allowAccessAttribute

      protected boolean allowAccessAttribute(org.gluu.model.GluuAttribute attribute)
    • allowEditAttribute

      protected boolean allowEditAttribute(org.gluu.model.GluuAttribute attribute)
    • getSAML1URI

      public String getSAML1URI(org.gluu.model.GluuAttribute attribute)
    • getSAML2URI

      public String getSAML2URI(org.gluu.model.GluuAttribute attribute)
    • setSelectedTR

      public void setSelectedTR(String trust)
    • setContainerFederation

      public void setContainerFederation(javax.faces.model.SelectItem federation)
    • getContainerFederation

      public javax.faces.model.SelectItem getContainerFederation()
    • getContainerFederationTr

      public GluuSAMLTrustRelationship getContainerFederationTr()
    • getAllFederations

      public ArrayList<javax.faces.model.SelectItem> getAllFederations()
    • isActive

      public boolean isActive()
    • activationToggle

      public String activationToggle()
    • setSelectedEntities

      public void setSelectedEntities(String[] entities)
    • getSelectedEntities

      public String[] getSelectedEntities()
    • filterEntities

      public void filterEntities()
    • setAvailableEntities

      public void setAvailableEntities(List<String> availableEntities)
    • getAvailableEntities

      public List<String> getAvailableEntities()
    • setFilterString

      public void setFilterString(String filterString)
    • getFilterString

      public String getFilterString()
    • getFederatedSites

      public List<GluuSAMLTrustRelationship> getFederatedSites()
    • getEntityTypeList

      public GluuEntityType[] getEntityTypeList()
    • generateSp

      public boolean generateSp() throws IOException
      Throws:
      IOException
    • getAllOtherFederations

      public List<GluuSAMLTrustRelationship> getAllOtherFederations(String inum)
    • getTrustContainerFederation

      public GluuSAMLTrustRelationship getTrustContainerFederation()
    • getEntityId

      public String getEntityId()
    • getFederatees

    • getAllMdqFederatedTrustRelationships

      public List<GluuSAMLTrustRelationship> getAllMdqFederatedTrustRelationships()
    • getSaml2Settings

      public Saml2Settings getSaml2Settings()
    • setSaml2Settings

      public void setSaml2Settings(Saml2Settings saml2Settings)
    • generateMetadata

      public void generateMetadata() throws MalformedURLException, CertificateException
      Throws:
      MalformedURLException
      CertificateException
    • getMetadataStr

      public String getMetadataStr()
    • setMetadataStr

      public void setMetadataStr(String metadataStr)
    • getSpAssertionConsumerServiceUrlStr

      public String getSpAssertionConsumerServiceUrlStr()
    • setSpAssertionConsumerServiceUrlStr

      public void setSpAssertionConsumerServiceUrlStr(String spAssertionConsumerServiceUrlStr)
    • getSpSingleLogoutServiceUrlStr

      public String getSpSingleLogoutServiceUrlStr()
    • setSpSingleLogoutServiceUrlStr

      public void setSpSingleLogoutServiceUrlStr(String spSingleLogoutServiceUrlStr)
    • getSpX509certStr

      public String getSpX509certStr()
    • setSpX509certStr

      public void setSpX509certStr(String spX509certStr)
    • getOrgName

      public String getOrgName()
    • setOrgName

      public void setOrgName(String orgName)
    • getOrgDisplayName

      public String getOrgDisplayName()
    • setOrgDisplayName

      public void setOrgDisplayName(String orgDisplayName)
    • getOrgUrl

      public String getOrgUrl()
    • setOrgUrl

      public void setOrgUrl(String orgUrl)