Class OAuth1CredentialsInfoImpl
- java.lang.Object
-
- org.alfresco.repo.remotecredentials.AbstractCredentialsImpl
-
- org.alfresco.repo.remotecredentials.OAuth1CredentialsInfoImpl
-
- All Implemented Interfaces:
Serializable,PermissionCheckValue,BaseCredentialsInfo,OAuth1CredentialsInfo
public class OAuth1CredentialsInfoImpl extends AbstractCredentialsImpl implements OAuth1CredentialsInfo
This class represents an OAuth 1.0 based set of credentials- Since:
- Odin
- Author:
- Nick Burch
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OAuth1CredentialsInfoImpl()OAuth1CredentialsInfoImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, String remoteSystemName, org.alfresco.service.cmr.repository.NodeRef remoteSystemContainerNodeRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetOAuthSecret()StringgetOAuthToken()voidsetOAuthSecret(String secret)voidsetOAuthToken(String token)-
Methods inherited from class org.alfresco.repo.remotecredentials.AbstractCredentialsImpl
getCredentialsType, getLastAuthenticationSucceeded, getNodeRef, getRemoteSystemContainerNodeRef, getRemoteSystemName, getRemoteUsername, setLastAuthenticationSucceeded, setRemoteUsername
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.alfresco.service.cmr.remotecredentials.BaseCredentialsInfo
getCredentialsType, getLastAuthenticationSucceeded, getNodeRef, getRemoteSystemContainerNodeRef, getRemoteSystemName, getRemoteUsername
-
-
-
-
Constructor Detail
-
OAuth1CredentialsInfoImpl
public OAuth1CredentialsInfoImpl()
-
OAuth1CredentialsInfoImpl
public OAuth1CredentialsInfoImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, String remoteSystemName, org.alfresco.service.cmr.repository.NodeRef remoteSystemContainerNodeRef)
-
-
Method Detail
-
getOAuthToken
public String getOAuthToken()
- Specified by:
getOAuthTokenin interfaceOAuth1CredentialsInfo- Returns:
- the OAuth Token Identifier
-
setOAuthToken
public void setOAuthToken(String token)
-
getOAuthSecret
public String getOAuthSecret()
- Specified by:
getOAuthSecretin interfaceOAuth1CredentialsInfo- Returns:
- the OAuth Token Secret
-
setOAuthSecret
public void setOAuthSecret(String secret)
-
-