Tabnine Logo
AbstractSecurityToken.setOwnerId
Code IndexAdd Tabnine to your IDE (free)

How to use
setOwnerId
method
in
org.apache.shindig.auth.AbstractSecurityToken

Best Java code snippets using org.apache.shindig.auth.AbstractSecurityToken.setOwnerId (Showing top 12 results out of 315)

origin: org.wso2.org.apache.shindig/shindig-common

 public void loadFromMap(AbstractSecurityToken token, Map<String, String> map) {
  token.setOwnerId(map.get(key));
 }
},
origin: org.apache.shindig/shindig-common

 public void loadFromMap(AbstractSecurityToken token, Map<String, String> map) {
  token.setOwnerId(map.get(key));
 }
},
origin: apache/shindig

 public void loadFromMap(AbstractSecurityToken token, Map<String, String> map) {
  token.setOwnerId(map.get(key));
 }
},
origin: apache/shindig

public FakeGadgetToken setOwnerId(String ownerId) {
 return (FakeGadgetToken)super.setOwnerId(ownerId);
}
origin: org.apache.shindig/shindig-common

public FakeGadgetToken setOwnerId(String ownerId) {
 return (FakeGadgetToken)super.setOwnerId(ownerId);
}
origin: org.wso2.org.apache.shindig/shindig-common

public FakeGadgetToken setOwnerId(String ownerId) {
 return (FakeGadgetToken)super.setOwnerId(ownerId);
}
origin: apache/shindig

public AnonymousSecurityToken(String container, Long moduleId, String appUrl) {
 setContainer(container).setModuleId(moduleId).setAppUrl(appUrl)
  .setOwnerId(ANONYMOUS_ID)
  .setViewerId(ANONYMOUS_ID)
  .setDomain("*")
  .setTrustedJson("");
}
origin: org.apache.shindig/shindig-common

public AnonymousSecurityToken(String container, Long moduleId, String appUrl) {
 setContainer(container).setModuleId(moduleId).setAppUrl(appUrl)
  .setOwnerId(ANONYMOUS_ID)
  .setViewerId(ANONYMOUS_ID)
  .setDomain("*")
  .setTrustedJson("");
}
origin: org.wso2.org.apache.shindig/shindig-common

public AnonymousSecurityToken(String container, Long moduleId, String appUrl) {
 setContainer(container).setModuleId(moduleId).setAppUrl(appUrl)
  .setOwnerId(ANONYMOUS_ID)
  .setViewerId(ANONYMOUS_ID)
  .setDomain("*")
  .setTrustedJson("");
}
origin: apache/shindig

 public static BlobCrypterSecurityToken fromToken(SecurityToken token) {
  BlobCrypterSecurityToken interpretedToken = new BlobCrypterSecurityToken(token.getContainer(),
    token.getDomain(), token.getActiveUrl(), null);
  interpretedToken
    .setAppId(token.getAppId())
    .setAppUrl(token.getAppUrl())
    .setExpiresAt(token.getExpiresAt())
    .setModuleId(token.getModuleId())
    .setOwnerId(token.getOwnerId())
    .setTrustedJson(token.getTrustedJson())
    .setViewerId(token.getViewerId());

  return interpretedToken;
 }
}
origin: org.apache.shindig/shindig-common

 public static BlobCrypterSecurityToken fromToken(SecurityToken token) {
  BlobCrypterSecurityToken interpretedToken = new BlobCrypterSecurityToken(token.getContainer(),
    token.getDomain(), token.getActiveUrl(), null);
  interpretedToken
    .setAppId(token.getAppId())
    .setAppUrl(token.getAppUrl())
    .setExpiresAt(token.getExpiresAt())
    .setModuleId(token.getModuleId())
    .setOwnerId(token.getOwnerId())
    .setTrustedJson(token.getTrustedJson())
    .setViewerId(token.getViewerId());

  return interpretedToken;
 }
}
origin: org.wso2.org.apache.shindig/shindig-common

 public static BlobCrypterSecurityToken fromToken(SecurityToken token) {
  BlobCrypterSecurityToken interpretedToken = new BlobCrypterSecurityToken(token.getContainer(),
    token.getDomain(), token.getActiveUrl(), null);
  interpretedToken
    .setAppId(token.getAppId())
    .setAppUrl(token.getAppUrl())
    .setExpiresAt(token.getExpiresAt())
    .setModuleId(token.getModuleId())
    .setOwnerId(token.getOwnerId())
    .setTrustedJson(token.getTrustedJson())
    .setViewerId(token.getViewerId());

  return interpretedToken;
 }
}
org.apache.shindig.authAbstractSecurityTokensetOwnerId

Popular methods of AbstractSecurityToken

  • getExpiresAt
  • setActiveUrl
  • setAppId
  • setAppUrl
  • setContainer
  • setDomain
  • setExpiresAt
    Set the expiration time for this token.
  • setModuleId
  • setTrustedJson
  • setViewerId
  • toMap
    A Map representation of this SecurityToken. Implementors that handle additional keys not contained i
  • enforceNotExpired
  • toMap,
  • enforceNotExpired,
  • getContainer,
  • getMapKeys,
  • getMaxTokenTTL,
  • getTimeSource,
  • setExpires,
  • loadFromMap,
  • setTimeSource

Popular in Java

  • Creating JSON documents from java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • startActivity (Activity)
  • putExtra (Intent)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Collectors (java.util.stream)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now