# US 2012/0254969 A1 · Systems and methods for implementing security services

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0254969 A1
- Document ID: US20120254969A1
- Status: Published application
- Kind: A1
- Application number: 13/420,462
- Filed: 2012-03-14
- Published: 2012-10-04
- Earliest claimed: 2011-03-28
- Assignees: Canon Kabushiki Kaisha
- Inventors: Eliza Khosrova; Harishankar Karantothu; Craig Mazzagatte; Wei-Jhy Chern
- Web page: https://patentgrep.com/patent/US20120254969A1

## CPC

- G06F 21/41: where a single sign-on provides access to a plurality of computers
- G06F 9/44521: {Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- H04L 63/105: {Multiple levels of security}
- G06F 9/45504: {Abstract machines for program code execution, e.g. Java virtual machine [JVM], interpreters or emulators}
- G06F 2221/2149: Restricted operating environment
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods for providing a login context operate a virtual machine, wherein the virtual machine includes an open services platform and an authentication service, wherein the authentication service includes a classloader, and an initial classloader is designated as the classloader of the authentication service, register a login module, receive an authentication request from a first application, and responsive to receiving the authentication request designate a classloader associated with the login module as the classloader of the authentication service, generate a login context of the login module, and provide the login context of the login module to the first application, whereby the first application uses the login context to perform an authentication.

## Claims

### Claim 1

A method for providing a login context, the method comprising:
starting a virtual machine, wherein the virtual machine includes an open services platform and an authentication service, wherein the authentication service includes a classloader, and an initial classloader is designated as the classloader of the authentication service;
registering a login module;
receiving an authentication request from a first application; and
responsive to receiving the authentication request
designating a classloader associated with the login module as the classloader of the authentication service;
generating a login context of the login module, and
providing the login context of the login module to the first application;
whereby the first application uses the login context to perform an authentication.

### Claim 2 (depends on 1)

The method of claim 1, wherein the open services platform is OSGi.

### Claim 3 (depends on 2)

The method of claim 2, wherein the login module is a bundle.

### Claim 4 (depends on 1)

The method of claim 1, wherein the authentication service is JAAS.

### Claim 5 (depends on 1)

The method of claim 1, wherein registering the login module includes associating a classloader with the login module.

### Claim 6 (depends on 1)

The method of claim 1, wherein the authentication request includes data indicating the login module.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
receiving a registration request from a second login module;
responsive to the registration request from the second login module, registering the second login module;
receiving a second authentication request from a second application; and
responsive to receiving the second authentication request,
designating a classloader associated with the second login module as the classloader of the authentication service,
generating a login context of the second login module, and
providing the login context of the second login module to the second application.

### Claim 8 (depends on 7)

The method of claim 7, wherein the second authentication request includes data indicating the second login module.

### Claim 9 (depends on 1)

The method of claim 1, further comprising redesignating the initial classloader as the classloader of the authentication service after generating the login context of the login module.

### Claim 10

A computing device for creating a login context, the computing device comprising:
a computer-readable storage device; and
one or more processors configured to cause the computing device to perform operations including
operating a virtual machine that includes a security platform,
registering a first login module while the virtual machine is operating,
assigning a first classloader associated with the first login module as a classloader of the security platform,
generating a login context of the first login module, and
providing the login context of the first login module to a first client application.

### Claim 11 (depends on 10)

The computing device of claim 10, wherein the operations further include
registering a second login module while the virtual machine is operating;
assigning a second classloader associated with the second login module as the classloader of the security platform;
generating a login context of the second login module; and
providing the login context of the second login module to a second client application.

### Claim 12 (depends on 11)

The computing device of claim 11, wherein
the login context of the first login module is generated in response to receiving from the first client application a first request for a login context that identifies the first login module; and
the login context of the second login module is generated in response to receiving from the second client application a second request for a login context that identifies the second login module.

### Claim 13 (depends on 11)

The computing device of claim 11, wherein registering the first login modules includes associating the first classloader with the first login module; and registering the second login module includes associating the second classloader with the second login module.

### Claim 14 (depends on 11)

The computing device of claim 11, wherein the first login module implements a different security protocol than the second login module.

### Claim 15 (depends on 10)

The computing device of claim 10, wherein the operations further include restoring the classloader of the security platform to an initial security platform classloader.

### Claim 16

One or more computer-readable media storing instructions that, when executed by one or more computing devices, cause the one or more computing devices to perform operations comprising:
registering a security service while operating a virtual machine, the virtual machine including a security platform;
designating a classloader associated with the security service as a classloader of the security platform;
generating a context of the security service responsive to receiving a request for a context of the security service from a first application, wherein generating the context of the security service includes invoking the designated security platform classloader; and
providing the context of the security service to the first application.

### Claim 17 (depends on 16)

The one or more computer-readable media of claim 16, wherein the request for a context of the security service indicates the security service.

### Claim 18 (depends on 17)

The one or more computer-readable media of claim 17, wherein the virtual machine operates an open services platform.

### Claim 19 (depends on 16)

The one or more computer-readable media of claim 16, wherein registering the security service includes associating a classloader with the security service.

### Claim 20 (depends on 16)

The one or more computer-readable media of claim 16, wherein the operations further comprise designating an initial security platform classloader as the classloader of the security platform after generating the login context of the security service.
