com.ptc.core.ca.web.client.misc
Class WebRoleDeterminator

java.lang.Object
  extended by com.ptc.core.ca.web.client.misc.WebRoleDeterminator
All Implemented Interfaces:
CoRoleDeterminator

Deprecated.

@Deprecated
public abstract class WebRoleDeterminator
extends Object
implements CoRoleDeterminator

The purpose of the role determinator is to return the role the current principal plays in the given context.

Supported API: true

Extendable: false


Method Summary
 String getRole(CoContext context, CoConfigFeature config, CoEnvData envData)
          Deprecated. Returns the role the current principal plays in the given context.
abstract  String getRole(CoContext context, CoConfigFeature config, WebEnvData envData)
          Deprecated. Returns the role the current principal plays in the given context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRole

public final String getRole(CoContext context,
                            CoConfigFeature config,
                            CoEnvData envData)
                     throws WTException
Deprecated. 
Returns the role the current principal plays in the given context.

Supported API: true

Specified by:
getRole in interface CoRoleDeterminator
Parameters:
context -
config -
envData -
Returns:
String
Throws:
WTException

getRole

public abstract String getRole(CoContext context,
                               CoConfigFeature config,
                               WebEnvData envData)
                        throws WTException
Deprecated. 
Returns the role the current principal plays in the given context. Extend this class only when you want environment dependent role determinator. Extend the base interface otherwise.

Supported API: true

Parameters:
context -
config -
envData -
Returns:
String
Throws:
WTException