Class AbstractCredentialsImpl

    • Constructor Detail

      • AbstractCredentialsImpl

        public AbstractCredentialsImpl​(org.alfresco.service.namespace.QName type)
        Creates a new, empty AbstractCredentialsImpl ready to be stored later
      • AbstractCredentialsImpl

        public AbstractCredentialsImpl​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                       org.alfresco.service.namespace.QName type,
                                       java.lang.String remoteSystemName,
                                       org.alfresco.service.cmr.repository.NodeRef remoteSystemContainerNodeRef)
    • Method Detail

      • getCredentialsType

        public org.alfresco.service.namespace.QName getCredentialsType()
        Specified by:
        getCredentialsType in interface BaseCredentialsInfo
        Returns:
        the Type of the underlying credentials
      • getRemoteSystemName

        public java.lang.String getRemoteSystemName()
        Specified by:
        getRemoteSystemName in interface BaseCredentialsInfo
        Returns:
        the Remote System Name the credentials belong to
      • getRemoteSystemContainerNodeRef

        public org.alfresco.service.cmr.repository.NodeRef getRemoteSystemContainerNodeRef()
        Specified by:
        getRemoteSystemContainerNodeRef in interface BaseCredentialsInfo
        Returns:
        the NodeRef of the container for the Remote System
      • setRemoteUsername

        public void setRemoteUsername​(java.lang.String username)
      • setLastAuthenticationSucceeded

        public void setLastAuthenticationSucceeded​(boolean succeeded)