Class SecurityUtils
- java.lang.Object
- 
- com.evolveum.midpoint.web.security.util.SecurityUtils
 
- 
 public class SecurityUtils extends Object - Author:
- lazyman, lskublik
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringDEFAULT_LOGOUT_PATH
 - 
Constructor SummaryConstructors Constructor Description SecurityUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidappendHiddenInputForCsrf(org.apache.wicket.request.Response resp)static org.apache.wicket.markup.html.WebMarkupContainercreateHiddenInputForCsrf(String id)static org.springframework.security.web.csrf.CsrfTokengetCsrfToken()static List<String>getPageAuthorizations(Class<?> page)static StringgetPathForLogoutWithContextPath(String contextPath, @NotNull String prefix)static AuthenticationSequenceTypegetSequenceByIdentifier(String identifier, AuthenticationsPolicyType authenticationPolicy)static AuthenticationSequenceTypegetSequenceByName(String name, AuthenticationsPolicyType authenticationPolicy)Deprecated.static booleanisCollectionMenuAuthorized(MenuItem item)static booleanisMenuAuthorized(MainMenuItem item)static booleanisMenuAuthorized(MenuItem item)static booleanisPageAuthorized(Class<?> page)static booleansequenceExists(AuthenticationsPolicyType policy, String identifier)
 
- 
- 
- 
Field Detail- 
DEFAULT_LOGOUT_PATHpublic static final String DEFAULT_LOGOUT_PATH - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
isMenuAuthorizedpublic static boolean isMenuAuthorized(MainMenuItem item) 
 - 
isMenuAuthorizedpublic static boolean isMenuAuthorized(MenuItem item) 
 - 
isCollectionMenuAuthorizedpublic static boolean isCollectionMenuAuthorized(MenuItem item) 
 - 
isPageAuthorizedpublic static boolean isPageAuthorized(Class<?> page) 
 - 
createHiddenInputForCsrfpublic static org.apache.wicket.markup.html.WebMarkupContainer createHiddenInputForCsrf(String id) 
 - 
appendHiddenInputForCsrfpublic static void appendHiddenInputForCsrf(org.apache.wicket.request.Response resp) 
 - 
getCsrfTokenpublic static org.springframework.security.web.csrf.CsrfToken getCsrfToken() 
 - 
getSequenceByName@Deprecated public static AuthenticationSequenceType getSequenceByName(String name, AuthenticationsPolicyType authenticationPolicy) Deprecated.name attribute is deprecated, getSequenceByIdentifier should be used instead- Parameters:
- name-
- authenticationPolicy-
- Returns:
 
 - 
getSequenceByIdentifierpublic static AuthenticationSequenceType getSequenceByIdentifier(String identifier, AuthenticationsPolicyType authenticationPolicy) 
 - 
getPathForLogoutWithContextPathpublic static String getPathForLogoutWithContextPath(String contextPath, @NotNull @NotNull String prefix) 
 - 
sequenceExistspublic static boolean sequenceExists(AuthenticationsPolicyType policy, String identifier) 
 
- 
 
-