congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
IdentityTrustException
Code IndexAdd Tabnine 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)

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 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.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.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

  • Making http requests using okhttp
  • startActivity (Activity)
  • getResourceAsStream (ClassLoader)
  • compareTo (BigDecimal)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JLabel (javax.swing)
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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