Class OAuth2CredentialsFactory

    • Constructor Detail

      • OAuth2CredentialsFactory

        public OAuth2CredentialsFactory()
    • Method Detail

      • setMetadataEncryptor

        public void setMetadataEncryptor​(MetadataEncryptor metadataEncryptor)
      • createCredentials

        public OAuth2CredentialsInfo createCredentials​(org.alfresco.service.namespace.QName type,
                                                       org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                                       java.lang.String remoteSystemName,
                                                       org.alfresco.service.cmr.repository.NodeRef remoteSystemContainerNodeRef,
                                                       java.util.Map<org.alfresco.service.namespace.QName,​java.io.Serializable> properties)
        Creates a new OAuth2CredentialsInfo based on the details of the underlying node.
        Specified by:
        createCredentials in interface RemoteCredentialsInfoFactory
        Parameters:
        type - The type of the credentials node, a child of rc:credentialBase
        nodeRef - The NodeRef of the credentials node
        properties - All the node properties