Package Arp.System.Um.Services.Grpc
Class IPasswordAuthenticationServiceGrpc.IPasswordAuthenticationServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<IPasswordAuthenticationServiceGrpc.IPasswordAuthenticationServiceStub>
io.grpc.stub.AbstractAsyncStub<IPasswordAuthenticationServiceGrpc.IPasswordAuthenticationServiceStub>
Arp.System.Um.Services.Grpc.IPasswordAuthenticationServiceGrpc.IPasswordAuthenticationServiceStub
- Enclosing class:
IPasswordAuthenticationServiceGrpc
public static final class IPasswordAuthenticationServiceGrpc.IPasswordAuthenticationServiceStub
extends io.grpc.stub.AbstractAsyncStub<IPasswordAuthenticationServiceGrpc.IPasswordAuthenticationServiceStub>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateIPasswordAuthenticationServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcloseSession(IPasswordAuthenticationServiceOuterClass.IPasswordAuthenticationServiceCloseSessionRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) / <summary> / Closed the current session (as referenced by the <code>securityToken</code> within an extended Remoting header).voidcreateSession(IPasswordAuthenticationServiceOuterClass.IPasswordAuthenticationServiceCreateSessionRequest request, io.grpc.stub.StreamObserver<IPasswordAuthenticationServiceOuterClass.IPasswordAuthenticationServiceCreateSessionResponse> responseObserver) / <summary> / Creates a new Session against the UserManager.voidprolongSession(IPasswordAuthenticationServiceOuterClass.IPasswordAuthenticationServiceProlongSessionRequest request, io.grpc.stub.StreamObserver<IPasswordAuthenticationServiceOuterClass.IPasswordAuthenticationServiceProlongSessionResponse> responseObserver) / <summary> / Prolongs the timeout of the current session (as referenced by the <code>securityToken</code> within an extended Remoting header).Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Constructor Details
-
IPasswordAuthenticationServiceStub
private IPasswordAuthenticationServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected IPasswordAuthenticationServiceGrpc.IPasswordAuthenticationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<IPasswordAuthenticationServiceGrpc.IPasswordAuthenticationServiceStub>
-
createSession
public void createSession(IPasswordAuthenticationServiceOuterClass.IPasswordAuthenticationServiceCreateSessionRequest request, io.grpc.stub.StreamObserver<IPasswordAuthenticationServiceOuterClass.IPasswordAuthenticationServiceCreateSessionResponse> responseObserver) / <summary> / Creates a new Session against the UserManager. / </summary> / <remarks> / This method allows other components such as the RSC-gateway to create sessions under a username and password. / It returns a <code>securityToken</code> which is to be used within extended Remoting headers in subsequent remoting calls, to authorize these calls or / to check for authorization with the <see cref="!:IAuthorizationService" />. / For authentication the operation "arp.static.device/CreateSession" needs to be granted for the specific protocol as described by <paramref name="channelInformation" />. / </remarks> / <param name="userName"> / username to use for the authentication for the new session / </param> / <param name="password"> / password corresponding to the username / </param> / <param name="channelInformation"> / describes properties of the channel which are used to augment the session context within the UserManager / </param> / <param name="securityToken"> / If and only if this method returns with <see cref="Arp.System.Um.Services.AuthenticationError.None" /> then value of this parameter is valid. / It is a value which shall be used within extended Remoting headers in subsequent Remoting calls. / </param> / <param name="penaltyDelayMillis"> / If and only if this method returns with <see cref="Arp.System.Um.Services.AuthenticationError.PenaltyDelayActive" /> / then the value of this parameter is valid. / It describes a delay in milliseconds which must pass before the next authentication attempt / due to this or a former authentication failure. The penalty is enforced by the UserManager. / The penalty delay may be enforced per user or global - depending on the security policy which is implemented / by the UserManager. / </param> / <param name="initialTimeOutMillis"> / Each session is created with a timeout. After exeeding the timeout the session will be closed automatically / the session can be prolonged with a call to <see cref="!:ProlongSession(UInt32, out uint)" />. / The initial timeout set for this session is returned by this out parameter expressed in milliseconds. / </param> / <returns> / AuthenticationError::None if the Session was successfully created / Error code from AuthenticationError if unsuccessful / </returns>
-
prolongSession
public void prolongSession(IPasswordAuthenticationServiceOuterClass.IPasswordAuthenticationServiceProlongSessionRequest request, io.grpc.stub.StreamObserver<IPasswordAuthenticationServiceOuterClass.IPasswordAuthenticationServiceProlongSessionResponse> responseObserver) / <summary> / Prolongs the timeout of the current session (as referenced by the <code>securityToken</code> within an extended Remoting header). / </summary> / <param name="securityToken"> / the security token of the session which is to be prolonged / </param> / <param name="newTimeOutMillis"> / The new timeout set for this session is returned by this out parameter expressed in milliseconds. / </param>
-
closeSession
public void closeSession(IPasswordAuthenticationServiceOuterClass.IPasswordAuthenticationServiceCloseSessionRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) / <summary> / Closed the current session (as referenced by the <code>securityToken</code> within an extended Remoting header). / </summary>
-