Class BasicTransaction
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.IdentifiableImpl
-
- org.oa4mp.delegation.common.transactions.storage.BasicTransaction
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.cache.Cacheable
,edu.uiuc.ncsa.security.core.Identifiable
,Serializable
,Cloneable
- Direct Known Subclasses:
ServiceTransaction
public class BasicTransaction extends edu.uiuc.ncsa.security.core.util.IdentifiableImpl implements edu.uiuc.ncsa.security.core.cache.Cacheable
A bean holding a transaction.Created by Jeff Gaynor
on May 3, 2011 at 3:28:17 PM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AuthorizationGrant
authorizationGrant
-
Constructor Summary
Constructors Constructor Description BasicTransaction(AuthorizationGrant ag)
BasicTransaction(edu.uiuc.ncsa.security.core.Identifier identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
checkTokenEquals(NewToken token1, NewToken token2)
boolean
equals(Object obj)
AccessToken
getAccessToken()
AuthorizationGrant
getAuthorizationGrant()
ProtectedAsset
getProtectedAsset()
Verifier
getVerifier()
boolean
hasAccessToken()
boolean
hasAuthorizationGrant()
boolean
hasProtectedAsset()
boolean
hasVerifier()
void
setAccessToken(AccessToken accessToken)
void
setAuthorizationGrant(AuthorizationGrant authorizationGrant)
void
setProtectedAsset(ProtectedAsset protectedAsset)
void
setVerifier(Verifier verifier)
String
toString()
-
Methods inherited from class edu.uiuc.ncsa.security.core.util.IdentifiableImpl
clone, getDescription, getIdentifier, getIdentifierString, isReadOnly, setDescription, setIdentifier, setReadOnly
-
-
-
-
Field Detail
-
authorizationGrant
protected AuthorizationGrant authorizationGrant
-
-
Constructor Detail
-
BasicTransaction
public BasicTransaction(edu.uiuc.ncsa.security.core.Identifier identifier)
-
BasicTransaction
public BasicTransaction(AuthorizationGrant ag)
-
-
Method Detail
-
hasAccessToken
public boolean hasAccessToken()
-
hasAuthorizationGrant
public boolean hasAuthorizationGrant()
-
hasProtectedAsset
public boolean hasProtectedAsset()
-
hasVerifier
public boolean hasVerifier()
-
getAccessToken
public AccessToken getAccessToken()
-
setAccessToken
public void setAccessToken(AccessToken accessToken)
-
getAuthorizationGrant
public AuthorizationGrant getAuthorizationGrant()
-
setAuthorizationGrant
public void setAuthorizationGrant(AuthorizationGrant authorizationGrant)
-
getVerifier
public Verifier getVerifier()
-
setVerifier
public void setVerifier(Verifier verifier)
-
getProtectedAsset
public ProtectedAsset getProtectedAsset()
-
setProtectedAsset
public void setProtectedAsset(ProtectedAsset protectedAsset)
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classedu.uiuc.ncsa.security.core.util.IdentifiableImpl
-
-