BrightSide Workbench Full Report + Source Code
org.turro.sso.SSO Class Reference

Static Public Member Functions

static boolean hasSSO ()
 
static boolean hasSSO (HttpServletRequest request)
 
static IAssertionProvider getProvider ()
 
static IElephantSSO getSSO ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 32 of file SSO.java.

Member Function Documentation

◆ getProvider()

static IAssertionProvider org.turro.sso.SSO.getProvider ( )
static

Definition at line 45 of file SSO.java.

45  {
46  return CollectionUtil.from(Instances.cached().byAnnotation(ElephantAssertion.class, IAssertionProvider.class)).first();
47  }
Here is the caller graph for this function:

◆ getSSO()

static IElephantSSO org.turro.sso.SSO.getSSO ( )
static

Definition at line 49 of file SSO.java.

49  {
50  return CollectionUtil.from(Instances.cached().byAnnotation(ElephantSSO.class, IElephantSSO.class)).first();
51  }
Here is the caller graph for this function:

◆ hasSSO() [1/2]

static boolean org.turro.sso.SSO.hasSSO ( )
static

Definition at line 34 of file SSO.java.

34  {
35  return ElephantContext.getUseSSO() &&
36  getSSO() != null &&
37  getProvider() != null &&
38  getSSO().hasSSO();
39  }
static IElephantSSO getSSO()
Definition: SSO.java:49
static IAssertionProvider getProvider()
Definition: SSO.java:45
Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasSSO() [2/2]

static boolean org.turro.sso.SSO.hasSSO ( HttpServletRequest  request)
static

Definition at line 41 of file SSO.java.

41  {
42  return hasSSO() && getProvider().hasAssertion(request);
43  }
static boolean hasSSO()
Definition: SSO.java:34
boolean hasAssertion(HttpServletRequest request)
Here is the call graph for this function:

The documentation for this class was generated from the following file: