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
  • Method Details

    • createInitialValue

      public AuthenticationTokenConfiguration createInitialValue()
      Specified by:
      createInitialValue in interface org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller<A extends org.springframework.security.core.Authentication,AuthenticationTokenConfiguration>
    • build

      public A build(AuthenticationTokenConfiguration config)
      Specified by:
      build in interface org.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:
      readFrom in interface org.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:
      writeTo in interface org.wildfly.clustering.marshalling.protostream.Writable<A extends org.springframework.security.core.Authentication>
      Throws:
      IOException
    • getFields

      public int getFields()
      Specified by:
      getFields in interface org.wildfly.clustering.marshalling.protostream.FieldReadable<A extends org.springframework.security.core.Authentication>