Class UnsignedJwtFactory
- java.lang.Object
-
- org.forgerock.openig.tools.jwt.factory.UnsignedJwtFactory
-
- All Implemented Interfaces:
JwtFactory
@Deprecated(since="7.0") public class UnsignedJwtFactory extends Object
Deprecated.Since 7.0 There is no replacement, as this feature is considered insecure.Producing unsigned JWT is considered insecure.- See Also:
NOPSigningHandler
-
-
Constructor Summary
Constructors Constructor Description UnsignedJwtFactory()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Promise<Jwt,NoSuchSecretException>
create(Map<String,Object> claimsSet)
Produces a newJwt
.protected Promise<SignedJwtBuilderImpl,NoSuchSecretException>
jwtBuilder()
Deprecated.
-
-
-
Method Detail
-
jwtBuilder
protected Promise<SignedJwtBuilderImpl,NoSuchSecretException> jwtBuilder()
Deprecated.
-
create
public final Promise<Jwt,NoSuchSecretException> create(Map<String,Object> claimsSet)
Description copied from interface:JwtFactory
Produces a newJwt
.- Specified by:
create
in interfaceJwtFactory
- Parameters:
claimsSet
- The name-value pairs (claims) to put into a JWT structure.- Returns:
- A new
Jwt
.
-
-