org.wso2.carbon.registry.rest.api.security
Class RestAPIAuthContext

java.lang.Object
  extended by org.wso2.carbon.registry.rest.api.security.RestAPIAuthContext

public class RestAPIAuthContext
extends Object


Constructor Summary
RestAPIAuthContext()
           
 
Method Summary
 int getTenantId()
           
 String getUserName()
           
 boolean isAuthorized()
           
 void setAuthorized(boolean isAuthenticated)
           
 void setTenantId(int tenantId)
           
 void setUserName(String userName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestAPIAuthContext

public RestAPIAuthContext()
Method Detail

isAuthorized

public boolean isAuthorized()

setAuthorized

public void setAuthorized(boolean isAuthenticated)

getUserName

public String getUserName()

setUserName

public void setUserName(String userName)

getTenantId

public int getTenantId()

setTenantId

public void setTenantId(int tenantId)


Copyright © 2015 WSO2. All rights reserved.