Interface BaseCredentialsInfo
-
- All Superinterfaces:
PermissionCheckValue,java.io.Serializable
- All Known Subinterfaces:
OAuth1CredentialsInfo,OAuth2CredentialsInfo,PasswordCredentialsInfo
- All Known Implementing Classes:
AbstractCredentialsImpl,OAuth1CredentialsInfoImpl,OAuth2CredentialsInfoImpl,PasswordCredentialsInfoImpl
public interface BaseCredentialsInfo extends java.io.Serializable, PermissionCheckValue
This class is the parent of a set of Remote Credentials- Since:
- 4.0.2
- Author:
- Nick Burch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.alfresco.service.namespace.QNamegetCredentialsType()booleangetLastAuthenticationSucceeded()org.alfresco.service.cmr.repository.NodeRefgetNodeRef()Get the underlying node value that needs to be permission checked.org.alfresco.service.cmr.repository.NodeRefgetRemoteSystemContainerNodeRef()java.lang.StringgetRemoteSystemName()java.lang.StringgetRemoteUsername()
-
-
-
Method Detail
-
getNodeRef
org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Description copied from interface:PermissionCheckValueGet the underlying node value that needs to be permission checked.- Specified by:
getNodeRefin interfacePermissionCheckValue- Returns:
- the NodeRef of the underlying credentials
-
getCredentialsType
org.alfresco.service.namespace.QName getCredentialsType()
- Returns:
- the Type of the underlying credentials
-
getRemoteSystemName
java.lang.String getRemoteSystemName()
- Returns:
- the Remote System Name the credentials belong to
-
getRemoteSystemContainerNodeRef
org.alfresco.service.cmr.repository.NodeRef getRemoteSystemContainerNodeRef()
- Returns:
- the NodeRef of the container for the Remote System
-
getRemoteUsername
java.lang.String getRemoteUsername()
- Returns:
- the Remote Username
-
getLastAuthenticationSucceeded
boolean getLastAuthenticationSucceeded()
- Returns:
- whether the last authentication attempt succeeded
-
-