com.force.sdk.oauth
Class ForceRolePrincipal

java.lang.Object
  extended by com.force.sdk.oauth.ForceRolePrincipal
All Implemented Interfaces:
Principal

public class ForceRolePrincipal
extends Object
implements Principal

A security principal that represents a Force.com role.

Author:
Fiaz Hossian

Constructor Summary
ForceRolePrincipal(String name)
          Create a ForceRolePrincipal with this name.
 
Method Summary
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Constructor Detail

ForceRolePrincipal

public ForceRolePrincipal(String name)
Create a ForceRolePrincipal with this name.

Parameters:
name - String
Method Detail

getName

public String getName()
Specified by:
getName in interface Principal


Copyright © 2011. All Rights Reserved.