Oracle Communications Services Gatekeeper Java API Reference
7.0.0.1

E96578-01

oracle.ocsg.oauth2
Class OAuthTokenPrincipalImpl

java.lang.Object
  extended byweblogic.security.principal.WLSAbstractPrincipal
      extended byoracle.ocsg.oauth2.OAuthTokenPrincipalImpl
All Implemented Interfaces:
weblogic.security.principal.IdentityDomainPrincipal, OAuthTokenPrincipal, java.security.Principal, java.io.Serializable, weblogic.security.principal.WLSPrincipal

public class OAuthTokenPrincipalImpl
extends weblogic.security.principal.WLSAbstractPrincipal
implements OAuthTokenPrincipal

OAuthTokenPrincipalImpl.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class weblogic.security.principal.WLSAbstractPrincipal
principalFactoryCreated
 
Fields inherited from interface oracle.ocsg.oauth2.OAuthTokenPrincipal
OAUTH_BEARER_ASSERTER_TOKEN_TYPE, OAUTH_MAC_ASSERTER_TOKEN_TYPE, OAUTH2_PARAMETER_EXT, OAUTH2_PARAMETER_ID, OAUTH2_PARAMETER_MAC, OAUTH2_PARAMETER_NONCE, OAUTH2_PARAMETER_TIMESTAMP, TOKEN_TYPE_BEARER, TOKEN_TYPE_MAC
 
Constructor Summary
OAuthTokenPrincipalImpl(java.lang.String token, java.lang.String tokenType, java.util.Map tokenParameters)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getToken()
          Get token.
 java.util.Map getTokenParameters()
          Get token parameter map.
 java.lang.String getTokenType()
          Get token type.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class weblogic.security.principal.WLSAbstractPrincipal
getDn, getGuid, getIdentityDomain, getName, getSalt, getSignature, getSignedData, getSignedDataCaseSensitive, isEqualsCaseInsensitive, isEqualsCompareDnAndGuid, isPrincipalFactoryCreated, setDn, setEqualsCaseInsensitive, setEqualsCompareDnAndGuid, setGuid, setIdentityDomain, setName, setSalt, setSignature
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.security.Principal
getName, implies
 

Constructor Detail

OAuthTokenPrincipalImpl

public OAuthTokenPrincipalImpl(java.lang.String token,
                               java.lang.String tokenType,
                               java.util.Map tokenParameters)
Constructor.

Method Detail

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface java.security.Principal

getToken

public java.lang.String getToken()
Description copied from interface: OAuthTokenPrincipal
Get token.

Specified by:
getToken in interface OAuthTokenPrincipal
Returns:
token.

getTokenParameters

public java.util.Map getTokenParameters()
Description copied from interface: OAuthTokenPrincipal
Get token parameter map.

Specified by:
getTokenParameters in interface OAuthTokenPrincipal
Returns:
map with token parameters extracted from the token value.

getTokenType

public java.lang.String getTokenType()
Description copied from interface: OAuthTokenPrincipal
Get token type.

Specified by:
getTokenType in interface OAuthTokenPrincipal
Returns:
token type.

hashCode

public int hashCode()
Specified by:
hashCode in interface java.security.Principal

toString

public java.lang.String toString()
Specified by:
toString in interface java.security.Principal

Oracle Communications Services Gatekeeper Java API Reference
7.0.0.1

E96578-01

Copyright © 2008, 2018, Oracle and/or its affiliates. All rights reserved.