Codota Logo
IdentityTrustException
Code IndexAdd Codota to your IDE (free)

How to use
IdentityTrustException
in
org.jboss.security.identitytrust

Best Java code snippets using org.jboss.security.identitytrust.IdentityTrustException (Showing top 11 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: org.jboss.security/jbosssx-bare

private void invokeCommit()
throws IdentityTrustException
{
 int length = modules.size();
 for(int i = 0; i < length; i++)
 {
   IdentityTrustModule module = (IdentityTrustModule)modules.get(i); 
   boolean bool = module.commit();
   if(!bool)
    throw new IdentityTrustException("commit on modules failed");
 } 
}

origin: org.jboss.security/jbosssx-bare

  private void invokeAbort()
  throws IdentityTrustException
  {
   int length = modules.size();
   for(int i = 0; i < length; i++)
   {
     IdentityTrustModule module = (IdentityTrustModule)modules.get(i); 
     boolean bool = module.abort(); 
     if(!bool)
      throw new IdentityTrustException("abort on modules failed");
   } 
  }
}
origin: org.picketbox/picketbox

  private void invokeAbort() throws IdentityTrustException
  {
   int length = modules.size();
   for(int i = 0; i < length; i++)
   {
     IdentityTrustModule module = modules.get(i);
     boolean bool = module.abort(); 
     if(!bool)
      throw new IdentityTrustException(PicketBoxMessages.MESSAGES.moduleAbortFailedMessage());
   }
  }
}
origin: org.picketbox/picketbox

private void invokeCommit() throws IdentityTrustException
{
 int length = modules.size();
 for(int i = 0; i < length; i++)
 {
   IdentityTrustModule module = modules.get(i);
   boolean bool = module.commit();
   if(!bool)
    throw new IdentityTrustException(PicketBoxMessages.MESSAGES.moduleCommitFailedMessage());
 }
}
origin: org.jboss.security/jbosssx-bare

  moduleException = new IdentityTrustException(ae);
  moduleException = new IdentityTrustException("Identity Trust Validation failed");
else
  throw moduleException;
origin: org.jboss.security/jbosssx-bare

throw new IdentityTrustException(e);
origin: org.picketbox/picketbox

throw new IdentityTrustException(e);
origin: org.picketbox/picketbox

/**
* Whether the current caller can be trusted?
* @return true - trust the caller, false - otherwise
* @throws IdentityTrustException
*/
public boolean isTrusted() throws IdentityTrustException
{
 TrustDecision td = TrustDecision.NotApplicable;
 IdentityTrustManager itm = securityContext.getIdentityTrustManager();
 if(itm != null)
 {
   td = itm.isTrusted(securityContext);
   if(td == TrustDecision.Deny)
    throw new IdentityTrustException(PicketBoxMessages.MESSAGES.deniedByIdentityTrustMessage());
 }
 return td == TrustDecision.Permit;
}   

origin: org.picketbox/jboss-security-spi

/**
* Whether the current caller can be trusted?
* @return true - trust the caller, false - otherwise
* @throws IdentityTrustException
*/
public boolean isTrusted() throws IdentityTrustException
{
 TrustDecision td = TrustDecision.NotApplicable;
 IdentityTrustManager itm = securityContext.getIdentityTrustManager();
 if(itm != null)
 {
   td = itm.isTrusted(securityContext);
   if(td == TrustDecision.Deny)
    throw new IdentityTrustException(PicketBoxMessages.MESSAGES.deniedByIdentityTrustMessage());
 }
 return td == TrustDecision.Permit;
}   

origin: org.picketbox/picketbox-spi-bare

/**
* Whether the current caller can be trusted?
* @return true - trust the caller, false - otherwise
* @throws IdentityTrustException
*/
public boolean isTrusted() throws IdentityTrustException
{
 TrustDecision td = TrustDecision.NotApplicable;
 IdentityTrustManager itm = securityContext.getIdentityTrustManager();
 if(itm != null)
 {
   td = itm.isTrusted(securityContext);
   if(td == TrustDecision.Deny)
    throw new IdentityTrustException(PicketBoxMessages.MESSAGES.deniedByIdentityTrustMessage());
 }
 return td == TrustDecision.Permit;
}   

origin: org.picketbox/picketbox

  moduleException = new IdentityTrustException(ae);
  moduleException = new IdentityTrustException(PicketBoxMessages.MESSAGES.identityTrustValidationFailedMessage());
else
  throw moduleException;
org.jboss.security.identitytrustIdentityTrustException

Javadoc

Identity Trust Exception

Most used methods

  • <init>

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • FileInputStream (java.io)
    A FileInputStream obtains input bytes from a file in a file system. What files are available depends
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now