Searched refs:UsernameTokenState (Results 1 - 9 of 9) sorted by relevance

/forgerock/openam-v13/openam-sts/openam-client-sts/src/test/java/org/forgerock/openam/sts/user/invocation/
H A DUsernameTokenStateTest.java30 UsernameTokenState untState =
31 UsernameTokenState.builder().username(USERNAME.getBytes()).password(PASSWORD.getBytes()).build();
32 assertEquals(untState, UsernameTokenState.fromJson(untState.toJson()));
37 UsernameTokenState.builder().username(USERNAME.getBytes()).build();
42 UsernameTokenState.builder().password(PASSWORD.getBytes()).build();
H A DRestSTSTokenTranslationInvocationStateTest.java37 UsernameTokenState usernameTokenState =
38 UsernameTokenState.builder().username(USERNAME.getBytes()).password(PASSWORD.getBytes()).build();
45 assertEquals(usernameTokenState, UsernameTokenState.fromJson(roundTripInvocationState.getInputTokenState()));
/forgerock/openam/openam-sts/openam-client-sts/src/test/java/org/forgerock/openam/sts/user/invocation/
H A DUsernameTokenStateTest.java30 UsernameTokenState untState =
31 UsernameTokenState.builder().username(USERNAME.getBytes()).password(PASSWORD.getBytes()).build();
32 assertEquals(untState, UsernameTokenState.fromJson(untState.toJson()));
37 UsernameTokenState.builder().username(USERNAME.getBytes()).build();
42 UsernameTokenState.builder().password(PASSWORD.getBytes()).build();
H A DRestSTSTokenTranslationInvocationStateTest.java37 UsernameTokenState usernameTokenState =
38 UsernameTokenState.builder().username(USERNAME.getBytes()).password(PASSWORD.getBytes()).build();
45 assertEquals(usernameTokenState, UsernameTokenState.fromJson(roundTripInvocationState.getInputTokenState()));
/forgerock/openam-v13/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/user/invocation/
H A DUsernameTokenState.java38 public class UsernameTokenState { class
55 public UsernameTokenState build() throws TokenMarshalException {
56 return new UsernameTokenState(this);
61 private UsernameTokenState(UsernameTokenStateBuilder builder) throws TokenMarshalException { method in class:UsernameTokenState
94 public static UsernameTokenState fromJson(JsonValue jsonValue) throws TokenMarshalException{
96 return UsernameTokenState.builder()
121 if (other instanceof UsernameTokenState) {
122 UsernameTokenState otherState = (UsernameTokenState)other;
/forgerock/openam/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/user/invocation/
H A DUsernameTokenState.java38 public class UsernameTokenState { class
55 public UsernameTokenState build() throws TokenMarshalException {
56 return new UsernameTokenState(this);
61 private UsernameTokenState(UsernameTokenStateBuilder builder) throws TokenMarshalException { method in class:UsernameTokenState
94 public static UsernameTokenState fromJson(JsonValue jsonValue) throws TokenMarshalException{
96 return UsernameTokenState.builder()
121 if (other instanceof UsernameTokenState) {
122 UsernameTokenState otherState = (UsernameTokenState)other;
/forgerock/openam-v13/openam-sts/openam-rest-sts/src/test/java/org/forgerock/openam/sts/rest/operation/
H A DTokenTranslateOperationImplTest.java37 import org.forgerock.openam.sts.user.invocation.UsernameTokenState;
155 UsernameTokenState untState = UsernameTokenState.builder().password("bobo".getBytes()).username("dodo".getBytes()).build();
/forgerock/openam/openam-sts/openam-rest-sts/src/test/java/org/forgerock/openam/sts/rest/operation/
H A DTokenTranslateOperationImplTest.java37 import org.forgerock.openam.sts.user.invocation.UsernameTokenState;
155 UsernameTokenState untState = UsernameTokenState.builder().password("bobo".getBytes()).username("dodo".getBytes()).build();
/forgerock/openam/openam-samples/sts-example-code/
H A DRestSTSConsumer.java46 import org.forgerock.openam.sts.user.invocation.UsernameTokenState;
122 UsernameTokenState untState = UsernameTokenState.builder()
151 UsernameTokenState untState = UsernameTokenState.builder()
168 UsernameTokenState untState = UsernameTokenState.builder()

Completed in 622 milliseconds