WAS v8.5 > Develop applications > Develop web services - Security (WS-Security) > Develop applications that use Web Services Security > Develop message-level security for JAX-WS web servicesUse Web Services Security SPIs
We can use the GenericSecurityTokenFactory SPIs to create security tokens for use by the WS-Security runtime. These security tokens can be used for, but are not be limited to, WSSAPIs, JAAS login modules, and custom security tokens.
The GenericSecurityTokenFactory SPIs can be used to create the following security tokens through various method signatures:
- UsernameToken
- Custom tokens
GenericSecurityTokenFactory SPIs can also be used to generate and consume custom tokens with the Generic Issue Login Modules.
- Create a UsernameToken
- Create a custom token
- Generate and consume custom tokens with the Generic Issue Login Modules
Subtopics
- Create fully-populated username tokens for Web services security for use by Generic Issue Login Modules
We can use the GenericSecurityTokenFactory APIs to create fully-populated UsernameToken security tokens for use by the WS-Security runtime. These security tokens can be used for, but are not be limited to, WSSAPIs, and JAAS login modules.- Create custom security tokens for Web services security using the GenericSecurityTokenFactory SPIs
Use the GenericSecurityTokenFactory SPIs to create custom security tokens for use by the WS-Security runtime. These security tokens can be used for, but are not be limited to, WSSAPIs, JAAS login modules, and custom security tokens.- Generate and Consuming custom tokens with the Generic Issue Login Modules
The Generic Issued token generator and consumer, GenericIssuedTokenGenerateLoginModule, and GenericIssuedTokenConsumeLoginModule, can be used in conjunction with the GenericSecurityTokenFactory and GenericSecurityToken SPIs to implement an end-to-end solution for a custom token. Generating and consuming custom tokens with the Generic Issue Login Modules can be done with either policy and bindings, or WSSAPIs.
Related
Create custom security tokens for Web services security using the GenericSecurityTokenFactory SPIs
Create fully-populated username tokens for Web services security for use by Generic Issue Login Modules
Generate and Consuming custom tokens with the Generic Issue Login Modules