Package org.gluu.oxtrust.action
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd()protected booleanallowAccessAttribute(org.gluu.model.GluuAttribute attribute) protected booleanallowEditAttribute(org.gluu.model.GluuAttribute attribute) cancel()delete()voidvoidbooleanprotected StringArrayList<javax.faces.model.SelectItem> getAllOtherFederations(String inum) javax.servlet.http.Partjavax.faces.model.SelectItemprotected Stringjavax.servlet.http.PartgetInum()getSAML1URI(org.gluu.model.GluuAttribute attribute) getSAML2URI(org.gluu.model.GluuAttribute attribute) String[]voidinitTrustRelationship(GluuSAMLTrustRelationship trust, List<org.gluu.model.GluuAttribute> attributes) booleanisActive()booleanisUpdate()voidsave()saveImpl()booleanvoidsetAvailableEntities(List<String> availableEntities) voidsetCertWrapper(javax.servlet.http.Part certWrapper) voidsetContainerFederation(javax.faces.model.SelectItem federation) voidsetFileWrapper(javax.servlet.http.Part fileWrapper) voidsetFilterString(String filterString) voidvoidsetMetadataStr(String metadataStr) voidsetOrgDisplayName(String orgDisplayName) voidsetOrgName(String orgName) voidvoidsetSaml2Settings(Saml2Settings saml2Settings) voidsetSelectedEntities(String[] entities) voidsetSelectedTR(String trust) voidsetSpAssertionConsumerServiceUrlStr(String spAssertionConsumerServiceUrlStr) voidsetSpSingleLogoutServiceUrlStr(String spSingleLogoutServiceUrlStr) voidsetSpX509certStr(String spX509certStr) update()voidupdateReleasedAttributes(GluuSAMLTrustRelationship trustRelationship)
-
Constructor Details
-
UpdateTrustRelationshipAction
public UpdateTrustRelationshipAction()
-
-
Method Details
-
getMetadataSourceTypesList
-
add
-
update
-
cancel
-
save
-
saveImpl
-
newThreadSaveSpMetaDataFileSourceTypeURI
@Asynchronous public void newThreadSaveSpMetaDataFileSourceTypeURI() -
initTrustRelationship
public void initTrustRelationship(GluuSAMLTrustRelationship trust, List<org.gluu.model.GluuAttribute> attributes) -
getCertForGeneratedSP
- Throws:
IOException
-
updateReleasedAttributes
-
saveSpMetaDataFileSourceTypeURI
- Throws:
IOException
-
delete
-
downloadConfiguration
-
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
-
setInum
-
getTrustRelationship
-
getMetadata
- Throws:
IOException
-
isUpdate
public boolean isUpdate() -
getEventQueue
-
getActionName
-
allowAccessAttribute
protected boolean allowAccessAttribute(org.gluu.model.GluuAttribute attribute) -
allowEditAttribute
protected boolean allowEditAttribute(org.gluu.model.GluuAttribute attribute) -
getSAML1URI
-
getSAML2URI
-
setSelectedTR
-
setContainerFederation
public void setContainerFederation(javax.faces.model.SelectItem federation) -
getContainerFederation
public javax.faces.model.SelectItem getContainerFederation() -
getContainerFederationTr
-
getAllFederations
-
isActive
public boolean isActive() -
activationToggle
-
setSelectedEntities
-
getSelectedEntities
-
filterEntities
public void filterEntities() -
setAvailableEntities
-
getAvailableEntities
-
setFilterString
-
getFilterString
-
getFederatedSites
-
getEntityTypeList
-
generateSp
- Throws:
IOException
-
getAllOtherFederations
-
getTrustContainerFederation
-
getEntityId
-
getFederatees
-
getAllMdqFederatedTrustRelationships
-
getSaml2Settings
-
setSaml2Settings
-
generateMetadata
-
getMetadataStr
-
setMetadataStr
-
getSpAssertionConsumerServiceUrlStr
-
setSpAssertionConsumerServiceUrlStr
-
getSpSingleLogoutServiceUrlStr
-
setSpSingleLogoutServiceUrlStr
-
getSpX509certStr
-
setSpX509certStr
-
getOrgName
-
setOrgName
-
getOrgDisplayName
-
setOrgDisplayName
-
getOrgUrl
-
setOrgUrl
-