Class HybrisOAuthTokenStoreTest.MockAuthentication

java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
de.hybris.platform.webservicescommons.oauth2.token.provider.HybrisOAuthTokenStoreTest.MockAuthentication
All Implemented Interfaces:
Serializable, Principal, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer
Enclosing class:
HybrisOAuthTokenStoreTest

protected static class HybrisOAuthTokenStoreTest.MockAuthentication extends org.springframework.security.authentication.AbstractAuthenticationToken
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    MockAuthentication(String name, boolean authenticated)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     

    Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken

    equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.security.Principal

    implies
  • Constructor Details

    • MockAuthentication

      public MockAuthentication(String name, boolean authenticated)
  • Method Details

    • getCredentials

      public Object getCredentials()
    • getPrincipal

      public Object getPrincipal()