Class 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
    • Constructor Detail

      • BasicTransaction

        public BasicTransaction​(edu.uiuc.ncsa.security.core.Identifier identifier)
    • Method Detail

      • hasAccessToken

        public boolean hasAccessToken()
      • hasAuthorizationGrant

        public boolean hasAuthorizationGrant()
      • hasProtectedAsset

        public boolean hasProtectedAsset()
      • hasVerifier

        public boolean hasVerifier()
      • setAccessToken

        public void setAccessToken​(AccessToken accessToken)
      • setAuthorizationGrant

        public void setAuthorizationGrant​(AuthorizationGrant authorizationGrant)
      • getVerifier

        public Verifier getVerifier()
      • setVerifier

        public void setVerifier​(Verifier verifier)
      • setProtectedAsset

        public void setProtectedAsset​(ProtectedAsset protectedAsset)
      • checkTokenEquals

        protected boolean checkTokenEquals​(NewToken token1,
                                           NewToken token2)
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class edu.uiuc.ncsa.security.core.util.IdentifiableImpl