- checkService() - Method in interface cz.tdp.kshield.integration.AuthenticationService
-
Checks KeyShield SSO Server status
- checkService() - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
- checkService() - Method in class cz.tdp.kshield.integration.web.DelegatingAuthenticationServiceImpl
-
- checkUrl() - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
- client - Variable in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
- ClientMessage - Class in cz.tdp.kshield.client
-
This class represents KShield client message data
- ClientMessage(String, String, String) - Constructor for class cz.tdp.kshield.client.ClientMessage
-
- ClientMessage(String, String, String, String) - Constructor for class cz.tdp.kshield.client.ClientMessage
-
- close() - Method in class cz.tdp.kshield.example.MockHttpClient
-
- closeKShieldSession() - Static method in class cz.tdp.kshield.integration.KShieldContext
-
Called when KeyShield SSO Server session is finished or in case of retrieval or validation failure
- code() - Method in enum cz.tdp.kshield.client.UserInfo.AuthType
-
- connManager - Variable in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
- constructCredentialsFromRequest(RequestContext) - Method in class cz.tdp.kshield.integration.cas.KShieldCredentialsAction
-
- createAuthenication(UserInfo) - Method in interface cz.tdp.kshield.integration.AuthenticationFactory
-
Creates new authentication instance
- createAuthenication(UserInfo) - Method in class cz.tdp.kshield.springsecurity3.SpringAuthenticationFactory
-
Retrieves userDetails and creates new UsernamePasswordAuthenticationToken instance
- createClientMessageUri() - Method in class cz.tdp.kshield.client.KShieldClient
-
- createSSLSocketFactory() - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
- createUserInfo(String) - Method in interface cz.tdp.kshield.integration.AuthenticationService
-
Retrieves userInfo from KeyShield SSO Server, Returns null if ip address is not validated by server, ip address cannot by validated or ip address is empty
Non-null return value means that ipAddr was approved by KeyShield SSO Server
- createUserInfo(String) - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
- createUserInfo(String) - Method in class cz.tdp.kshield.integration.web.DelegatingAuthenticationServiceImpl
-
Return first non null userInfo
- cz.tdp.kshield.client - package cz.tdp.kshield.client
-
KeyShield SSO Server client implementation.
- cz.tdp.kshield.example - package cz.tdp.kshield.example
-
Demo usage of KeyShield SSO AuthenticationService class
- cz.tdp.kshield.integration - package cz.tdp.kshield.integration
-
Core integration classes and interfaces.
- cz.tdp.kshield.integration.cas - package cz.tdp.kshield.integration.cas
-
Classes needed for CAS server integration
- cz.tdp.kshield.integration.web - package cz.tdp.kshield.integration.web
-
Classes needed for Servlet 2.5 container integration.
- cz.tdp.kshield.notification - package cz.tdp.kshield.notification
-
Classes needed for handling notifications
- cz.tdp.kshield.springsecurity3 - package cz.tdp.kshield.springsecurity3
-
Classes needed for Spring Security 3.0.x/3.1.x integration.
- KSHIELD_PASSWD_SUFFIX - Static variable in class cz.tdp.kshield.springsecurity3.KShieldPreAuthenticationFilter
-
Suffix used in fake use password
- KSHIELD_PRINCIPAL_TOKEN - Static variable in interface cz.tdp.kshield.integration.ServletAuthenticationService
-
Session attribute name of stored UserInfo
- KShieldAuthenticationFilter - Class in cz.tdp.kshield.integration.web
-
This is main class of web intergation package.
This filter could be used in pure Servlet 2.5 environment and via Spring Framework.
- KShieldAuthenticationFilter() - Constructor for class cz.tdp.kshield.integration.web.KShieldAuthenticationFilter
-
- KShieldAuthenticationHandler - Class in cz.tdp.kshield.integration.cas
-
This is central class in cas package.
- KShieldAuthenticationHandler(AuthenticationService) - Constructor for class cz.tdp.kshield.integration.cas.KShieldAuthenticationHandler
-
- kshieldAuthManager() - Method in class cz.tdp.kshield.notification.AbstractWebSocketEndpoint
-
Implement this to provide kshieldAuthManager functionality to WebSocket instance
- KShieldAuthManager - Interface in cz.tdp.kshield.notification
-
- KShieldAuthManagerImpl - Class in cz.tdp.kshield.notification
-
- KShieldAuthManagerImpl(AuthenticationService) - Constructor for class cz.tdp.kshield.notification.KShieldAuthManagerImpl
-
- KShieldClient - Class in cz.tdp.kshield.client
-
This is central class in client package. This class encapsulates communication with KeyShield SSO Server.
- KShieldClient(String) - Constructor for class cz.tdp.kshield.client.KShieldClient
-
Construct a new KShieldClient for given KeyShield SSO Server url, given a HttpClient
- KShieldClient(String, CloseableHttpClient, String...) - Constructor for class cz.tdp.kshield.client.KShieldClient
-
Construct a new KShieldClient for given KeyShield SSO Server url, given a HttpClient
- KShieldClient(String, String, CloseableHttpClient, String...) - Constructor for class cz.tdp.kshield.client.KShieldClient
-
Construct a new KShieldClient for given KeyShield SSO Server url, given a HttpClient
- KShieldClient(URI, String, CloseableHttpClient, String) - Constructor for class cz.tdp.kshield.client.KShieldClient
-
- KShieldClientDemo - Class in cz.tdp.kshield.example
-
Low level usage of KShieldClient.
It is recommended to use AuthenticationService instead of KShieldClient, but in certain use cases is possible to use KShieldClient directly
KShieldClient doesn't depend on Servlet container.
- KShieldClientDemo() - Constructor for class cz.tdp.kshield.example.KShieldClientDemo
-
- KShieldClientException - Exception in cz.tdp.kshield.client
-
Exception thrown by KShieldClient
- KShieldClientException(Throwable) - Constructor for exception cz.tdp.kshield.client.KShieldClientException
-
- KShieldClientException(String, Throwable) - Constructor for exception cz.tdp.kshield.client.KShieldClientException
-
- KShieldClientException(String) - Constructor for exception cz.tdp.kshield.client.KShieldClientException
-
- KShieldContext - Class in cz.tdp.kshield.integration
-
Holds information about current user session
- KShieldCredentials - Class in cz.tdp.kshield.integration.cas
-
- KShieldCredentials(String) - Constructor for class cz.tdp.kshield.integration.cas.KShieldCredentials
-
- KShieldCredentialsAction - Class in cz.tdp.kshield.integration.cas
-
- KShieldCredentialsAction() - Constructor for class cz.tdp.kshield.integration.cas.KShieldCredentialsAction
-
- KShieldCredentialsToPrincipalResolver - Class in cz.tdp.kshield.integration.cas
-
- KShieldCredentialsToPrincipalResolver() - Constructor for class cz.tdp.kshield.integration.cas.KShieldCredentialsToPrincipalResolver
-
- KShieldEndpoint - Interface in cz.tdp.kshield.notification
-
Implement this interface in your WebSocket/Endpoint class
You need to register your Endpoint once after connection and deregister after close
- KShieldInvalidApiKeyException - Exception in cz.tdp.kshield.client
-
Exception thrown by KShieldClient if userInfo.getRemoteIP() doesn't match requested remote ip address
- KShieldInvalidApiKeyException(String) - Constructor for exception cz.tdp.kshield.client.KShieldInvalidApiKeyException
-
- KShieldInvalidRemoteIpException - Exception in cz.tdp.kshield.client
-
Exception thrown by KShieldClient if userInfo.getRemoteIP() doesn't match requested remote ip address
- KShieldInvalidRemoteIpException(String, String) - Constructor for exception cz.tdp.kshield.client.KShieldInvalidRemoteIpException
-
- KShieldParserException - Exception in cz.tdp.kshield.client
-
Exception thrown by JSONUtil in case of JSON syntax error
- KShieldParserException(Throwable) - Constructor for exception cz.tdp.kshield.client.KShieldParserException
-
- KShieldParserException(String, Throwable) - Constructor for exception cz.tdp.kshield.client.KShieldParserException
-
- KShieldParserException(String) - Constructor for exception cz.tdp.kshield.client.KShieldParserException
-
- KShieldPreAuthenticationFilter - Class in cz.tdp.kshield.springsecurity3
-
This is central class in springsecurity3 package. You need to define AuthenticationService and AuthenticationFactory beans (usually from package springsecurity3).
- KShieldPreAuthenticationFilter() - Constructor for class cz.tdp.kshield.springsecurity3.KShieldPreAuthenticationFilter
-
- send(String) - Method in class cz.tdp.kshield.notification.AbstractJettyKShieldEndpoint
-
- send(String) - Method in class cz.tdp.kshield.notification.AbstractKShieldEndpoint
-
- send(String) - Method in class cz.tdp.kshield.notification.AbstractWebSocketEndpoint
-
- sendClientMessage(String, String, String) - Method in class cz.tdp.kshield.client.KShieldClient
-
- sendClientMessage(ClientMessage) - Method in class cz.tdp.kshield.client.KShieldClient
-
Sends client message to KeyShield server
- sendClientMessage(String, String, String) - Method in interface cz.tdp.kshield.integration.AuthenticationService
-
Sends message to another user(s) idetified by IP or FDN
- sendClientMessage(ClientMessage) - Method in interface cz.tdp.kshield.integration.AuthenticationService
-
Sends message to another user(s) idetified by IP or FDN
- sendClientMessage(String, String, String) - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
- sendClientMessage(ClientMessage) - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
- sendClientMessage(String, String, String) - Method in class cz.tdp.kshield.integration.web.DelegatingAuthenticationServiceImpl
-
- sendClientMessage(ClientMessage) - Method in class cz.tdp.kshield.integration.web.DelegatingAuthenticationServiceImpl
-
- ServletAuthenticationService - Interface in cz.tdp.kshield.integration
-
Processes KeyShield SSO Server authentication
- setAllowedAuthTypes(EnumSet<UserInfo.AuthType>) - Method in class cz.tdp.kshield.client.KShieldClient
-
Set allowed authentication types.
- setAllowedAuthTypes(EnumSet<UserInfo.AuthType>) - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
Sets allowed authentication types
- setApiKey(String) - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
Sets KeyShield SSO API authorization key
- setAuthenticationFactory(AuthenticationFactory<Authentication>) - Method in class cz.tdp.kshield.springsecurity3.SpringAuthenticationServiceImpl
-
You can optionally inject custom implementation of AuthenticationFactory class
- setAuthenticationService(ServletAuthenticationService) - Method in class cz.tdp.kshield.integration.web.KShieldAuthenticationFilter
-
- setAuthenticationService(AuthenticationService) - Method in class cz.tdp.kshield.springsecurity3.KShieldPreAuthenticationFilter
-
- setConnectionTimeout(int) - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
Sets http connection timeout in milliseconds - default is 5000
- setOptionalAttributes(String...) - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
Set optional attributes requested from KeyShield SSO with UserInfo
- setPrincipal(Principal) - Method in class cz.tdp.kshield.integration.cas.KShieldCredentials
-
- setResponse(String) - Method in class cz.tdp.kshield.example.MockHttpClient
-
Sets new fake response as string
- setResponseLevel(ResponseLevel) - Method in class cz.tdp.kshield.client.KShieldClient
-
- setResponseLevel(ResponseLevel) - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
Sets optional response level used in KeyShieldSSO requests
It is possible to set this dynamically after init() method
- setSoTimeout(int) - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
Set SO_TIMEOUT in milliseconds - default is 5000
- setStatus(int) - Method in class cz.tdp.kshield.example.MockHttpClient
-
- setTrustStorePath(String) - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
Sets custom JKS truststore path
This truststore will be used as in memory keystore - all certificates are treated as trusted
- setUrl(String) - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
Sets KeyShield SSO Server url
- setUserDetailsService(UserDetailsService) - Method in class cz.tdp.kshield.springsecurity3.SpringAuthenticationFactory
-
- setUserInfoValidator(UserInfoValidator) - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
Set custom userInfo validator
- setUsernameAttribute(String) - Method in class cz.tdp.kshield.client.UserInfo
-
Set name of username attribute, if null screenName is used as username
- setUsernameAttribute(String) - Method in class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
Set name of attribute used as username instead of screenName
This attribute is automatically merged with optional attributes
- signal() - Method in class cz.tdp.kshield.notification.AbstractWebSocketEndpoint
-
- signal() - Method in interface cz.tdp.kshield.notification.KShieldEndpoint
-
Used to inform WebSocket Endpoint that authentication has changed
- SimpleAuthenticationServiceImpl - Class in cz.tdp.kshield.integration
-
Basic implementation of KeyShield SSO Server AuthenticationService.
- SimpleAuthenticationServiceImpl(String) - Constructor for class cz.tdp.kshield.integration.SimpleAuthenticationServiceImpl
-
- SimpleUserInfoValidator - Class in cz.tdp.kshield.integration
-
Only return true
- SimpleUserInfoValidator() - Constructor for class cz.tdp.kshield.integration.SimpleUserInfoValidator
-
- SpringAuthenticationFactory - Class in cz.tdp.kshield.springsecurity3
-
Implementation of AuthenticationFactory used in SpringAuthenticationServiceImpl based on UserDetailsService.
- SpringAuthenticationFactory() - Constructor for class cz.tdp.kshield.springsecurity3.SpringAuthenticationFactory
-
- SpringAuthenticationServiceImpl - Class in cz.tdp.kshield.springsecurity3
-
Spring Security 3.0.x/3.1.x based implementation of KeyShield SSO Server AuthenticationService
- SpringAuthenticationServiceImpl(String) - Constructor for class cz.tdp.kshield.springsecurity3.SpringAuthenticationServiceImpl
-
- startKShieldSession() - Static method in class cz.tdp.kshield.integration.KShieldContext
-
Called after succesful UserInfo retrieval and validation
- supports(Credentials) - Method in class cz.tdp.kshield.integration.cas.KShieldAuthenticationHandler
-
- supports(Credentials) - Method in class cz.tdp.kshield.integration.cas.KShieldCredentialsToPrincipalResolver
-