- java.lang.Object
-
- com.sun.security.auth.module.SolarisSystem
-
Deprecated, for removal: This API element is subject to removal in a future version.replaced byUnixSystem
. This class is subject to removal in a future version of Java SE.
@Deprecated(since="1.4", forRemoval=true) public class SolarisSystem extends Object
This class implementation retrieves and makes available Solaris UID/GID/groups information for the current user.
-
-
Field Summary
Fields Modifier and Type Field Description protected long
gid
Deprecated, for removal: This API element is subject to removal in a future version.protected long[]
groups
Deprecated, for removal: This API element is subject to removal in a future version.protected long
uid
Deprecated, for removal: This API element is subject to removal in a future version.protected String
username
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
Constructors Constructor Description SolarisSystem()
Deprecated, for removal: This API element is subject to removal in a future version.Instantiate aSolarisSystem
and load the native library to access the underlying system information.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long
getGid()
Deprecated, for removal: This API element is subject to removal in a future version.Get the GID for the current Solaris user.long[]
getGroups()
Deprecated, for removal: This API element is subject to removal in a future version.Get the supplementary groups for the current Solaris user.long
getUid()
Deprecated, for removal: This API element is subject to removal in a future version.Get the UID for the current Solaris user.String
getUsername()
Deprecated, for removal: This API element is subject to removal in a future version.Get the username for the current Solaris user.
-
-
-
Field Detail
-
username
protected String username
Deprecated, for removal: This API element is subject to removal in a future version.
-
uid
protected long uid
Deprecated, for removal: This API element is subject to removal in a future version.
-
gid
protected long gid
Deprecated, for removal: This API element is subject to removal in a future version.
-
groups
protected long[] groups
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
getUsername
public String getUsername()
Deprecated, for removal: This API element is subject to removal in a future version.Get the username for the current Solaris user.- Returns:
- the username for the current Solaris user.
-
getUid
public long getUid()
Deprecated, for removal: This API element is subject to removal in a future version.Get the UID for the current Solaris user.- Returns:
- the UID for the current Solaris user.
-
getGid
public long getGid()
Deprecated, for removal: This API element is subject to removal in a future version.Get the GID for the current Solaris user.- Returns:
- the GID for the current Solaris user.
-
getGroups
public long[] getGroups()
Deprecated, for removal: This API element is subject to removal in a future version.Get the supplementary groups for the current Solaris user.- Returns:
- the supplementary groups for the current Solaris user.
-
-