Searched defs:tokenRestriction (Results 1 - 2 of 2) sorted by relevance

/forgerock/openam/openam-core/src/test/java/com/iplanet/dpro/session/
H A DTokenRestrictionFactoryTest.java32 private DNOrIPAddressListTokenRestriction tokenRestriction; field in class:TokenRestrictionFactoryTest
39 tokenRestriction = new DNOrIPAddressListTokenRestriction(DN, CollectionUtils.asSet(HOST_NAME),
45 String serialisedTokenRestriction = TokenRestrictionFactory.marshal(tokenRestriction);
52 String serialisedTokenRestriction = TokenRestrictionFactory.marshal(tokenRestriction);
55 assertThat(deserialisedTokenRestriction.toString()).isEqualTo(tokenRestriction.toString());
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/
H A DTokenRestrictionFactory.java58 * @param tokenRestriction Token Restriction object to be serialized.
62 public static String marshal(TokenRestriction tokenRestriction) throws Exception { argument
65 os.writeObject(tokenRestriction);

Completed in 31 milliseconds