Uses of Record Class
zeroecho.pki.server.SecurityPrincipal
Packages that use SecurityPrincipal
-
Uses of SecurityPrincipal in zeroecho.pki.server
Methods in zeroecho.pki.server that return SecurityPrincipalModifier and TypeMethodDescriptionAuthorizationEngine.Request.principal()Returns the value of theprincipalrecord component.ServerControlOperation.RegisterPrincipal.principal()Returns the value of theprincipalrecord component.Resolves one persisted principal for transport authentication.ServerControlStore.requirePrincipal(String principalId) Returns one principal or fails without revealing storage details.ServerRealmContext.setPrincipalEnabled(String principalId, boolean enabled, String actorPrincipalId) Changes only the enabled state of an existing principal.Methods in zeroecho.pki.server that return types with arguments of type SecurityPrincipalModifier and TypeMethodDescriptionPublicRepositoryGateway.Access.principal()Returns the value of theprincipalrecord component.ServerControlStore.principals(int offset, int limit) Returns a bounded stable page of principals in metadata-key order.Methods in zeroecho.pki.server with parameters of type SecurityPrincipalModifier and TypeMethodDescriptionvoidServerControlStore.createPrincipal(SecurityPrincipal value) Creates one principal.voidServerRealmContext.createPrincipal(SecurityPrincipal principal, String actorPrincipalId) Creates a principal and records only safe administrative audit metadata.booleanPermission.Resource.ownedBy(SecurityPrincipal principal) Tests whether the principal owns this object.AuditorViews.pii(AuditorViews.Source source, SecurityPrincipal principal, String reasonReference, boolean metadataFullAuthorized, boolean piiAuthorized) Returns PII only with explicit reason-bound authorization and records access safely.voidServerControlStore.replacePrincipal(SecurityPrincipal current, SecurityPrincipal updated) Replaces one exact principal.Method parameters in zeroecho.pki.server with type arguments of type SecurityPrincipalModifier and TypeMethodDescriptionDisclosureService.decide(PkiId objectId, Optional<SecurityPrincipal> principal, boolean ownerRelationship, boolean administrativePermission, Optional<byte[]> capabilityToken) Evaluates direct retrieval separately from search authorization.DisclosureService.decideRepository(PkiId objectId, Optional<SecurityPrincipal> principal, boolean ownerRelationship, boolean administrativePermission, Optional<String> bearer) Evaluates public repository retrieval using a point-addressable bearer credential.Constructors in zeroecho.pki.server with parameters of type SecurityPrincipalModifierConstructorDescriptionRegisterPrincipal(SecurityPrincipal principal) Validates the operation's immutable input.Request(RealmId realmId, AuthorityExposurePolicy exposure, SecurityPrincipal principal, Permission.Action action, Permission.Resource resource, Permission.Relationship relationship, Permission.DataView dataView, Permission.Context context, List<Permission.Grant> grants, Set<String> breakGlassGrantIds) Validates and snapshots the authorization input.Constructor parameters in zeroecho.pki.server with type arguments of type SecurityPrincipal -
Uses of SecurityPrincipal in zeroecho.pki.server.http
Method parameters in zeroecho.pki.server.http with type arguments of type SecurityPrincipalModifier and TypeMethodDescriptionstatic AdministrativeAuthenticatorAdministrativeAuthenticator.create(PkiServerConfiguration.Authentication configuration, Function<String, SecurityPrincipal> principalResolver, BiFunction<String, String, AuthorizationEngine.Decision> forwardingAuthorization, Clock clock, ClassLoader loader) Creates the configured authentication composition before listener startup.Constructor parameters in zeroecho.pki.server.http with type arguments of type SecurityPrincipalModifierConstructorDescriptionMutualTlsAuthenticator(List<PkiServerConfiguration.ClientCertificateMapping> mappings, Function<String, SecurityPrincipal> principalResolver, Clock clock) Creates one immutable principal mapper.