Package edu.suffolk.litlab.efsp.tyler
Class TylerUserNamePassword
java.lang.Object
edu.suffolk.litlab.efsp.tyler.TylerUserNamePassword
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.cxf.headers.HeadermakeHeader(String userName, String passwordHash) Convenience method to make the Tyler specific SOAP Header.static List<org.apache.cxf.headers.Header> makeHeaderList(AuthenticateResponseType authRes) org.apache.cxf.headers.HeadertoHeader()static Optional<TylerUserNamePassword> userCredsFromAuthorization(String userColonPassword)
-
Constructor Details
-
TylerUserNamePassword
public TylerUserNamePassword() -
TylerUserNamePassword
-
-
Method Details
-
userCredsFromAuthorization
-
getUserName
-
toHeader
public org.apache.cxf.headers.Header toHeader() -
makeHeader
Convenience method to make the Tyler specific SOAP Header.- Parameters:
userName- the email of the user that is sending this requestpasswordHash- the auth token (gotten from the AuthenticateUser call).- Returns:
- the Header object to the request context's Header.HEADER_LIST
-
makeHeaderList
-