Index

B C D E F G H I L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

B

BaseCSRFTest - Class in net.shibboleth.idp.ui.csrf
Basis for CSRF tests.
BaseCSRFTest() - Constructor for class net.shibboleth.idp.ui.csrf.BaseCSRFTest
 
BaseCSRFTest.MockView - Class in net.shibboleth.idp.ui.csrf
MockView, for use when you do not actually need a rendered response.
BaseCSRFTest.MockViewState - Class in net.shibboleth.idp.ui.csrf
Simple mock view-state with a no-op viewFactory.
BaseCSRFTokenPredicateTest - Class in net.shibboleth.idp.ui.csrf
Base CSRF token predicate tests.
BaseCSRFTokenPredicateTest() - Constructor for class net.shibboleth.idp.ui.csrf.BaseCSRFTokenPredicateTest
 
BaseCSRFTokenPredicateTest.MockBaseCSRFTokenPredicateImplementaiton - Class in net.shibboleth.idp.ui.csrf
Mock concrete implementation of the BaseCSRFTokenPredicate.

C

context - Variable in class net.shibboleth.idp.ui.csrf.BaseCSRFTest.MockView
 
CSRF_PARAM_NAME - Variable in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
the HTTP request parameter name that holds the CSRF token.
CSRFTokenFlowExecutionListenerTest - Class in net.shibboleth.idp.ui.csrf.impl
Test the CSRFTokenFlowExecutionListener.
CSRFTokenFlowExecutionListenerTest() - Constructor for class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
 
CSRFTokenManagerTest - Class in net.shibboleth.idp.ui.csrf
Tests for the CSRFTokenManager.
CSRFTokenManagerTest() - Constructor for class net.shibboleth.idp.ui.csrf.CSRFTokenManagerTest
 

D

DefaultEventRequiresCSRFTokenValidationPredicateTest - Class in net.shibboleth.idp.ui.csrf.impl
Tests the DefaultEventRequiresCSRFTokenValidationPredicate.
DefaultEventRequiresCSRFTokenValidationPredicateTest() - Constructor for class net.shibboleth.idp.ui.csrf.impl.DefaultEventRequiresCSRFTokenValidationPredicateTest
 
DefaultViewRequiresCSRFTokenPredicateTest - Class in net.shibboleth.idp.ui.csrf.impl
Tests the DefaultViewRequiresCSRFTokenPredicate.
DefaultViewRequiresCSRFTokenPredicateTest() - Constructor for class net.shibboleth.idp.ui.csrf.impl.DefaultViewRequiresCSRFTokenPredicateTest
 

E

email() - Method in class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 
EXCLUDED_VIEWSTATES_FIELDNAME - Static variable in class net.shibboleth.idp.ui.csrf.BaseCSRFTest
The name of the field that holds the set of excluded viewstates.

F

fallbackLanguage() - Method in class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 

G

getContext() - Method in class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 
getContext(int) - Method in class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 
getFlowEvent() - Method in class net.shibboleth.idp.ui.csrf.BaseCSRFTest.MockView
 
getUserEventState() - Method in class net.shibboleth.idp.ui.csrf.BaseCSRFTest.MockView
 
getViewId() - Method in class net.shibboleth.idp.ui.csrf.BaseCSRFTest.MockView
Returns the id of the view that would have been rendered.
givenName() - Method in class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 

H

hasFlowEvent() - Method in class net.shibboleth.idp.ui.csrf.BaseCSRFTest.MockView
 

I

INCLUDE_ALL_VIEWSTATES_FIELDNAME - Static variable in class net.shibboleth.idp.ui.csrf.BaseCSRFTest
The name of the field that says whether all view states are included.
INCLUDED_VIEWSTATES_FIELDNAME - Static variable in class net.shibboleth.idp.ui.csrf.BaseCSRFTest
The name of the field that holds the set of included viewstates.

L

listener - Variable in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
The listener instance to test.
logo() - Method in class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 

M

manager - Variable in class net.shibboleth.idp.ui.csrf.CSRFTokenManagerTest
Test token manager instance.
MockBaseCSRFTokenPredicateImplementaiton() - Constructor for class net.shibboleth.idp.ui.csrf.BaseCSRFTokenPredicateTest.MockBaseCSRFTokenPredicateImplementaiton
 
MockView(String, RequestContext) - Constructor for class net.shibboleth.idp.ui.csrf.BaseCSRFTest.MockView
 
MockViewState(String, String) - Constructor for class net.shibboleth.idp.ui.csrf.BaseCSRFTest.MockViewState
 

N

net.shibboleth.idp.ui.context - package net.shibboleth.idp.ui.context
 
net.shibboleth.idp.ui.csrf - package net.shibboleth.idp.ui.csrf
 
net.shibboleth.idp.ui.csrf.impl - package net.shibboleth.idp.ui.csrf.impl
 
nullObj - Variable in class net.shibboleth.idp.ui.csrf.CSRFTokenManagerTest
Something to spoof the null checker.
nullObj - Variable in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Something to spoof the null checker.
nullObj - Variable in class net.shibboleth.idp.ui.csrf.impl.SimpleCSRFTokenTest
Something to spoof the null checker.

O

organizationXX() - Method in class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 

P

processUserEvent() - Method in class net.shibboleth.idp.ui.csrf.BaseCSRFTest.MockView
 

R

RelyingPartyUIContextTest - Class in net.shibboleth.idp.ui.context
 
RelyingPartyUIContextTest() - Constructor for class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 
render() - Method in class net.shibboleth.idp.ui.csrf.BaseCSRFTest.MockView
 

S

saveState() - Method in class net.shibboleth.idp.ui.csrf.BaseCSRFTest.MockView
 
service() - Method in class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 
setup() - Method in class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 
setup() - Method in class net.shibboleth.idp.ui.csrf.CSRFTokenManagerTest
Test setup.
setup() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
 
SimpleCSRFTokenTest - Class in net.shibboleth.idp.ui.csrf.impl
Test the SimpleCSRFToken.
SimpleCSRFTokenTest() - Constructor for class net.shibboleth.idp.ui.csrf.impl.SimpleCSRFTokenTest
 
surName() - Method in class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 

T

testAddingCsrfTokenToViewScopeOnRendering() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test the listener adds the CSRF token to the viewScope on view rendering.
testARandomEventIdIsEvaluated() - Method in class net.shibboleth.idp.ui.csrf.impl.DefaultEventRequiresCSRFTokenValidationPredicateTest
Test a random eventId, as all eventIds should be included.
testCustomisedTokenGeneration() - Method in class net.shibboleth.idp.ui.csrf.CSRFTokenManagerTest
Test token generation using a customised instantiation of the token manager.
testCustomTokenValidationPredicate() - Method in class net.shibboleth.idp.ui.csrf.CSRFTokenManagerTest
Test what happens if you add a custom validation predicate that always returns false.
testDefaultTokenGeneration() - Method in class net.shibboleth.idp.ui.csrf.CSRFTokenManagerTest
Test token generation using the default instantiation of the token manager.
testDisabled() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test the listener does not throw an InvalidCSRFTokenException even though the tokens do not match, because the listener is disabled.
testDoesNotAddTokenToNonViewState() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test the listener gracefully (no exception) handles a non view-state.
testDoesNotTestTokenInNonViewState() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test the listener does not test the CSRF token if called from in a non view-state.
testEventDoesNotRequiresCSRFTokenValidationExcludedState() - Method in class net.shibboleth.idp.ui.csrf.impl.DefaultEventRequiresCSRFTokenValidationPredicateTest
Test that token verification is not required if state is excluded.
testEventRequiresCSRFTokenValidation() - Method in class net.shibboleth.idp.ui.csrf.impl.DefaultEventRequiresCSRFTokenValidationPredicateTest
Test event and view requires CSRF verification.
testHttpRequestTokenException() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test the listener throws an InvalidCSRFTokenException if no CSRF token is present in the Http request.
testInvalidToken() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test the listener throws an InvalidCSRFTokenException if the viewScope and request token do not match.
testInvalidTokenUsingNewEventRequiresCSRFTokenValidationPredicate() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test the listener does throw an InvalidCSRFTokenException as the tokens do not match.
testNoViewScopeTokenException() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test the listener throws an InvalidCSRFTokenException if no CSRF token is present in the viewscope.
testNullParamConstruction() - Method in class net.shibboleth.idp.ui.csrf.impl.SimpleCSRFTokenTest
Test token construction with an invalid null parameter name parameter.
testNullValueAndParamConstruction() - Method in class net.shibboleth.idp.ui.csrf.impl.SimpleCSRFTokenTest
Test token construction with all invalid null parameters.
testNullValueConstruction() - Method in class net.shibboleth.idp.ui.csrf.impl.SimpleCSRFTokenTest
Test token construction with an invalid null token value parameter.
testSafeGetBooleanAttributeWithNullAttrName() - Method in class net.shibboleth.idp.ui.csrf.BaseCSRFTokenPredicateTest
 
testSafeGetBooleanAttributeWithNullStateDefinition() - Method in class net.shibboleth.idp.ui.csrf.BaseCSRFTokenPredicateTest
 
testSafeGetBooleanFalse() - Method in class net.shibboleth.idp.ui.csrf.BaseCSRFTokenPredicateTest
Test normal operation of the safeGetBoolean method with a false csrf exclusion attribute.
testSafeGetBooleanNullAttributeFalse() - Method in class net.shibboleth.idp.ui.csrf.BaseCSRFTokenPredicateTest
Test normal operation of the safeGetBoolean method with a null csrf exclusion attribute.
testSafeGetBooleanTrue() - Method in class net.shibboleth.idp.ui.csrf.BaseCSRFTokenPredicateTest
Test normal operation of the safeGetBoolean method with a true csrf exclusion attribute.
testSafeGetBooleanWrongTypeAttributeFalse() - Method in class net.shibboleth.idp.ui.csrf.BaseCSRFTokenPredicateTest
Test normal operation of the safeGetBoolean method with a wrongly typed csrf exclusion attribute.
testSetCsrfParameterName() - Method in class net.shibboleth.idp.ui.csrf.CSRFTokenManagerTest
Test setting a valid csrf parameter name, which should not trigger an exception.
testSetCsrfTokenManager() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test setting a CSRF token manager.
testSetEnabled() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test setting the listener's enabled property.
testSetNullCsrfParameterName() - Method in class net.shibboleth.idp.ui.csrf.CSRFTokenManagerTest
Test setting an invalid csrf parameter name, which should trigger an exception.
testSetNullCsrfTokenManager() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test setting a null CSRF token manager triggers a ConstraintViolationException.
testSetNullEventRequiresCSRFValidationPredicate() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test setting a null event requires csrf validation predicate triggers a ConstraintViolationException.
testSetNullTokenGenerationStrategy() - Method in class net.shibboleth.idp.ui.csrf.CSRFTokenManagerTest
Test setting an invalid token generation strategy, which should trigger an exception.
testSetNullViewRequiresCSRFTokenPredicate() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test setting a null view requires csrf token predicate triggers a ConstraintViolationException.
testSetTokenGenerationStrategy() - Method in class net.shibboleth.idp.ui.csrf.CSRFTokenManagerTest
Test setting a valid token generation strategy, which should not trigger an exception.
testTokenConstruction() - Method in class net.shibboleth.idp.ui.csrf.impl.SimpleCSRFTokenTest
Test token construction with valid parameters.
testTokenNotAddedToViewScopeOnRenderingWhenDisabled() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test the listener does not add CSRF token to the viewScope on view rendering, as listener disabled.
testTokenWrongType() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Tests the InvalidCSRFTokenException is thrown when the view scoped token is the wrong type - String rather than CSRFToken.
testUnsetCsrfTokenManager() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test an unset csrf token manager triggers an initialisation exception.
testUnsetEventRequiresCSRFValidationPredicate() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test an unset ViewRequiresCSRFToken predicate triggers an initialisation exception.
testUnsetViewRequiresCSRFTokenPredicate() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test an unset EventRequiresCSRFTokenValidation predicate triggers an initialisation exception.
testValidToken() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test an InvalidCSRFTokenException is not thrown if the token in the request and viewscope matches.
testViewDoesNotRequiresCSRFToken() - Method in class net.shibboleth.idp.ui.csrf.impl.DefaultViewRequiresCSRFTokenPredicateTest
Test view has been excluded from CSRF verification.
testViewExcluded() - Method in class net.shibboleth.idp.ui.csrf.impl.CSRFTokenFlowExecutionListenerTest
Test the listener does not thrown an InvalidCSRFTokenException.
testViewRequiresCSRFToken() - Method in class net.shibboleth.idp.ui.csrf.impl.DefaultViewRequiresCSRFTokenPredicateTest
Test view is included in CSRF verification.
theACSs - Variable in class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 
theEntities - Variable in class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 
theSPSSOs - Variable in class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 
theUiInfos - Variable in class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 
toString() - Method in class net.shibboleth.idp.ui.csrf.BaseCSRFTest.MockView
 

U

urls() - Method in class net.shibboleth.idp.ui.context.RelyingPartyUIContextTest
 
userEventQueued() - Method in class net.shibboleth.idp.ui.csrf.BaseCSRFTest.MockView
 

V

viewId - Variable in class net.shibboleth.idp.ui.csrf.BaseCSRFTest.MockView
The id of the view that would have been rendered.
B C D E F G H I L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values