Class AuthenticationMarshaller<A extends org.springframework.security.core.Authentication>
java.lang.Object
org.wildfly.clustering.spring.security.authentication.AuthenticationMarshaller<A>
- All Implemented Interfaces:
org.wildfly.clustering.marshalling.protostream.FieldReadable<AuthenticationTokenConfiguration>,org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller<A,,AuthenticationTokenConfiguration> org.wildfly.clustering.marshalling.protostream.Writable<A>
- Direct Known Subclasses:
CredentialAuthenticationMarshaller
public class AuthenticationMarshaller<A extends org.springframework.security.core.Authentication>
extends Object
implements org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller<A,AuthenticationTokenConfiguration>
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller
org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Simple<T>, org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Supplied<T,V extends Supplier<T>> -
Method Summary
Modifier and TypeMethodDescriptionintreadFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader, int index, org.infinispan.protostream.descriptors.WireType type, AuthenticationTokenConfiguration config) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.marshalling.protostream.FieldReadable
nextIndexMethods inherited from interface org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller
asMarshaller, asMarshaller
-
Method Details
-
createInitialValue
- Specified by:
createInitialValuein interfaceorg.wildfly.clustering.marshalling.protostream.FieldSetMarshaller<A extends org.springframework.security.core.Authentication,AuthenticationTokenConfiguration>
-
build
- Specified by:
buildin interfaceorg.wildfly.clustering.marshalling.protostream.FieldSetMarshaller<A extends org.springframework.security.core.Authentication,AuthenticationTokenConfiguration>
-
readFrom
public AuthenticationTokenConfiguration readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader, int index, org.infinispan.protostream.descriptors.WireType type, AuthenticationTokenConfiguration config) throws IOException - Specified by:
readFromin interfaceorg.wildfly.clustering.marshalling.protostream.FieldReadable<A extends org.springframework.security.core.Authentication>- Throws:
IOException
-
writeTo
public void writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, A token) throws IOException - Specified by:
writeToin interfaceorg.wildfly.clustering.marshalling.protostream.Writable<A extends org.springframework.security.core.Authentication>- Throws:
IOException
-
getFields
public int getFields()- Specified by:
getFieldsin interfaceorg.wildfly.clustering.marshalling.protostream.FieldReadable<A extends org.springframework.security.core.Authentication>
-