Class IsySicherheitUtil
java.lang.Object
de.bund.bva.isyfact.sicherheit.util.IsySicherheitUtil
Deprecated.
This class contains utility methods for isy-sicherheit.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
createBasicAuthHeader
(String loginId, String password) Deprecated.useHttpHeaders
insteadstatic String[]
parseBasicAuthHeader
(javax.servlet.http.HttpServletRequest request) Deprecated.useorg.springframework.security.web.authentication.www.BasicAuthenticationConverter
insteadstatic String[]
parseBasisAuthHeaderValue
(String headerValue) Deprecated.useorg.springframework.security.web.authentication.www.BasicAuthenticationConverter
instead
-
Constructor Details
-
IsySicherheitUtil
public IsySicherheitUtil()Deprecated.
-
-
Method Details
-
parseBasicAuthHeader
@Deprecated public static String[] parseBasicAuthHeader(javax.servlet.http.HttpServletRequest request) Deprecated.useorg.springframework.security.web.authentication.www.BasicAuthenticationConverter
insteadReads the http header for http basic authentication and determines user identification and password.- Parameters:
request
- the HTTP request- Returns:
- String array with length two, containing username and password. Contains zero elements if the header is not set.
-
parseBasisAuthHeaderValue
Deprecated.useorg.springframework.security.web.authentication.www.BasicAuthenticationConverter
insteadDetermines the user identification and password from the value of the http header attribute for the http basic authentication.- Parameters:
headerValue
- Value of the header attribute- Returns:
- String array with length two, containing username and password. Contains zero elements if the value of the header attribute is empty.
-
createBasicAuthHeader
Deprecated.useHttpHeaders
insteadCreates a http basic authentication header for a login id and password.- Parameters:
loginId
- The login idpassword
- The password- Returns:
- String array with length two, containing header attribute ([0]) and header value ([1]).
-
spring-web
andspring-security-web